Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by SeAL

  1. SeAL

    <p> and innerHTML

    arrrrgggggg this is amazing !!! another snippet i try was : <html> <head> <script type="text/javascript"> window.onload = function() { var oPre = document.createElement('PRE'); oPre.innerHTML = 'I hope this will work :)'; document.getElementById('myP').appendChild(oPre); } </script>...
  2. SeAL

    &lt;p&gt; and innerHTML

    vongrunt, you're right, i didn't think of inline and block elements :) here's what i found on w3c : "The P element represents a paragraph. It cannot contain block-level elements (including P itself)." http://www.w3.org/TR/1998/REC-html40-19980424/struct/text.html#edef-P thanks so much for...
  3. SeAL

    &lt;p&gt; and innerHTML

    I do not really agree with that. I'm ok on the no closing tag of P but in my example, if you change PRE with SPAN, it works ... So why there's an innerHTML for SPAN and not for PRE or DIV ?? It's the same with only a textNode, if you only have some text, you can access to the innerHTML ...
  4. SeAL

    &lt;p&gt; and innerHTML

    Hi everybody, I get something amazing with IE6.0, here's my snippet : <html> <head> <script type="text/javascript"> window.onload = function() { document.getElementById('myP').innerHTML = '<pre>I hope this will work :)</pre>'; } </script> </head> <body> <p id="myP"></p> </body> </html>...
  5. SeAL

    using switch to redirect user

    Hi beau2, <script language=&quot;JavaScript&quot;> var iValue = 0; switch (iValue) { case 0 : window.location.href = &quot;http://www.tek-tips.com&quot;; break; case 1 : window.location.href = &quot;http://www.your-site.com&quot;; break; } </script> Hope this Helps ...
  6. SeAL

    iframe + reference

    Hi vlitim, Use : window.frames[framename] Hope this helps ...
  7. SeAL

    Javascript menu not working

    Hi Lbob, It seems that your tag is not correct : <SCRIPT language=&quot;JavaScrip&quot;t src=&quot;jscript/mmenu.js&quot; type=&quot;text/javascript&quot;></SCRIPT> &quot;JavaScrip&quot;t ??
  8. SeAL

    Select list

    That's why i'm looking for a CSS issue :) I've already done a process with div's but it'll be better with CSS tags !!
  9. SeAL

    Select List

    Hi peeps, Does someone know how to force a select list to drop-up ??
  10. SeAL

    Select list

    and there's no way to do it with CSS or something else ??
  11. SeAL

    Select list

    Hi peeps, Does someone know how to force a select list to drop-up ??
  12. SeAL

    Evaluate String

    Hi Tarwn, In fact, here's my problem. I'm working in an ActiveX DLL with differents class modules. I create a templator class that read some htm files and replace some tokens with value of my database. My problem is that data of my Database are used as string when I put them in my templator, so...
  13. SeAL

    Evaluate String

    I already get this article but it doesn't work in an ActiveX DLL Component ...
  14. SeAL

    Evaluate String

    I need an &quot;eval&quot; function like the JavaScript one and not Response.Write ...
  15. SeAL

    Evaluate String

    You have a Session Variable : Session(&quot;USERID&quot;) = 1 You have a String : String = &quot;I have a string with Session(&quot;&quot;USERID&quot;&quot;) in him&quot; So now, how d'you display : I have a string with 1 in him Instead of : I have a string with...

Part and Inventory Search

Back
Top