Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Cory

  • Rank

Profile Information

  • Gender
  1. That worked! Thanks, Deirdre's Dad! :)Now, can anyone tell me why the menu doesn't drop-down at all in IE? Check the menu here:http://bigboardsresources.com/
  2. We're using this menu on my site that drops down sub links and sub-sub links (from the sub links), however, the onClick element opens the sub link and sub-sub link to the same destination.Here's part of the code that uses sub-sub links. Everything below "IF/ZB Services »" opens sub-sub links, which redirect to the same window as the "IF/ZB Services »" sub link. <li id="main"><a title='IF/ZB Resources' alt='IF/ZB Resources' onclick="window.open('http://bigboardsresources.com/index.php?c=15','_self');" style="display:block; text-decoration:none;">IF/ZB Resources</a><ul>&
  3. Can you give an example of that with the link inserted?Like so: <a href="" onClick="return popup(this, 'D')">Preview</a> I want to escape the quotation marks in that.
  4. Sorry to bump my old topic, but how would you escape the double quotes in the document.write statement when there is a link inserted in the hyperlink?
  5. Well, I have to host my HTML (using this method) on a particular page that can hold only so many characters. We have to either use the single quotation marks or the double quotation marks. Personally, I use double quotation marks around the HTML placed within the document.write line, which means I cannot use double quotation marks anywhere else.
  6. Notice the single quotation marks highlighted in black? Those have to be double quotation marks in order for the onClick element to return the popup. Is there any possible way to exempt the double quotation marks and still have the onClick element return the popup?
  7. Cory

    Hosting HTML

    You, paynekj, are awesome. :)Your method is just what I was looking for.
  8. Cory

    Hosting HTML

    <script type="text/javascript" src=""></script> that; didn't work. Parenthesis have been exempt.
  9. Cory

    Hosting HTML

    I've tried that, though. When I host "<b>Hello World!</b>", it works. However, when I host a complete table within the document.write line, it doesn't work.Works: document.write("<b>Hello World!</b>") Doesn't Work: document.write("<table border=1><tr><td>row 1, cell 1</td><td>row 1, cell 2</td></tr><tr><td>row 2, cell 1</td><td>row 2, cell 2</td></tr></table>") Does the 2nd code work for you, when hosted?
  10. Cory

    Hosting HTML

    I'll take a gander at it.Thanks for the link.However, is there a way to host HTML with JavaScript?
  11. Cory

    Hosting HTML

    Hello there, question: Is it possible to host HTML externally (as you can do with JavaScript)? I'm guessing the only way to host HTML externally is through JavaScript, like so: document.write("<b>Hello World!</b>") I can externally host that, however, when I insert a full HTML table between the document.write tag the HTML won't appear when I place the externally hosted JavaScript snippet in the web file. Will externally hosted scripts exempt certain HTML tags or something?
  • Create New...