Jump to content

jense

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by jense

  1. jense

    Image Loading

    Ummm... No, I didn't? How do I fix that? I do know though that when you view my new page in FF, that my rollover images are a positioned a little bit higher than in IE. Does that have something to do with position: absolute? Any way I can fix that?Thanks for letting me know!
  2. jense

    Image Loading

    I've tried to put my background as a preloaded page now. Doesn't seem to work, heh... Here's the code for one of my pages (it's not uploaded yet): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Virtuous Immorality @ Soronrille.com</title><meta name="description" content="Soronrille.com - A Personal Website" /><link rel="stylesheet" type="text/css" href="versionfourzero.css" /><script>/*Preload images scriptBy JavaScript Kit (http://javascriptkit.com)Over 400+ free scripts here!*/var myimages=new Array()function preloadimages(){for (i=0;i<preloadimages.arguments.length;i++){myimages[i]=new Image()myimages[i].src=preloadimages.arguments[i]}}//Enter path of images to be preloaded inside parenthesis. Extend list as desired.preloadimages("http://www.soronrille.com/v4.o/graphics/bg.jpg")</script></head><body><script type="text/javascript">/***************************************************** DOM Image rollover:* by Chris Poole* http://chrispoole.com* Script featured on http://www.dynamicdrive.com* Keep this notice intact to use it :-)****************************************************/function init() { if (!document.getElementById) return var imgOriginSrc; var imgTemp = new Array(); var imgarr = document.getElementsByTagName('img'); for (var i = 0; i < imgarr.length; i++) { if (imgarr[i].getAttribute('hsrc')) { imgTemp[i] = new Image(); imgTemp[i].src = imgarr[i].getAttribute('hsrc'); imgarr[i].onmouseover = function() { imgOriginSrc = this.getAttribute('src'); this.setAttribute('src',this.getAttribute('hsrc')) } imgarr[i].onmouseout = function() { this.setAttribute('src',imgOriginSrc) } } }}onload=init;</script><script language=JavaScript><!--//Disable right mouse click Script//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive//For full source code, visit http://www.dynamicdrive.comvar message="Copyright © 2005-2006 Soronrille. All Rights Reserved.";///////////////////////////////////function clickIE4(){if (event.button==2){alert(message);return false;}}function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){alert(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function("alert(message);return false")// --> </script><div class="stats"><!-- Start of StatCounter Code --><script type="text/javascript" language="javascript"><!-- var sc_project=1369029; var sc_invisible=0; var sc_partition=11; var sc_security="496cfe97"; var sc_text=1; //--></script><script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c12.statcounter.com/counter.php?sc_project=1369029&java=0&security=496cfe97&invisible=0" alt="best tracker" border="0"></a> </noscript><!-- End of StatCounter Code --> visitors |<!-- Start FastOnlineUsers.com --><script type="text/javascript" src="http://fastonlineusers.com/on4.php?d=www.soronrille.com"></script> online<br><!-- End FastOnlineUsers.com --><!-- Start FastWebCounter.com --><script src="http://fastwebcounter.com/secure.php?s=www.soronrille.com"></script> hits since 3-9-06</a><!-- End FastWebCounter.com --></div><div style="position:absolute; left:565px; top:156px;"><img src="./graphics/nautonnier.jpg" hsrc="./graphics/nautonnierhover.jpg" border="0" /></div><div style="position:absolute; left:600px; top:156px;"><img src="./graphics/nautonnier.jpg" hsrc="./graphics/nautonnierhover.jpg" border="0" /></div><div style="position:absolute; left:635px; top:156px;"><img src="./graphics/nautonnier.jpg" hsrc="./graphics/nautonnierhover.jpg" border="0" /></div><div style="position:absolute; left:670px; top:156px;"><img src="./graphics/nautonnier.jpg" hsrc="./graphics/nautonnierhover.jpg" border="0" /></div><div style="position:absolute; left:705px; top:156px;"><img src="./graphics/nautonnier.jpg" hsrc="./graphics/nautonnierhover.jpg" border="0" /></div><div style="position:absolute; left:534px; top:72px;"><img src="./graphics/gun.jpg" hsrc="./graphics/bam.jpg" border="0" /></div><div style="position:absolute; left:319px; top:406px;"><a href="tag.html" onClick="MyWindow=window.open('http://www.soronrille.com/shoutbox/shout.php','tagboard','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=200,height=350,left=80,top=50'); return false;"><img src="./graphics/tag.jpg" border="0" /></A></div><div style="position:absolute; left:171px; top:506px;"><a href="http://jense.livejournal.com" title="Livejournal" target="_blank"><img src="./graphics/lj.jpg" border="0"></A></div><div style="position:absolute; left:507px; top:562px;"><a href="updates.php"><img src="./graphics/home.jpg" border="0"></A></div><div style="position:absolute; left:564px; top:562px;"><a href="portfolio.html"><img src="./graphics/portfolio.jpg" border="0"></A></div><div style="position:absolute; left:643px; top:562px;"><a href="site.html"><img src="./graphics/site.jpg" border="0"></A></div><div style="position:absolute; left:693px; top:562px;"><a href="www.html"><img src="./graphics/www.jpg" border="0"></A></div><div id="text"><div class="header">www</div><div class="module"></div><div class="module"></div><div class="module"></div><div class="module"></div><table width="75%" cellpadding="0" cellspacing="0"><tr><td valign="top"> <img src="./graphics/list.jpg" /> affiliates</td> <td valign="top"> [<a href="affiliates.html"><b>x</b></a>] </td> </tr><tr><td valign="top"> <img src="./graphics/list.jpg" /> collective</td> <td valign="top"> [<a href="collective.html"><b>x</b></a>] </td> </tr><tr><td valign="top"> <img src="./graphics/list.jpg" /> resources</td> <td valign="top"> [<a href="resources.html"><b>x</b></a>] </td> </tr></table> </div></body></html> Hope this helps?
  3. jense

    Image Loading

    Hi all,I wasn't really sure where to put this. In the (X)HTML forums or the JS one. I have a huge background on my website. I used a preloading JS script to make sure my rollovers are there. Now, every time I click one of my inside links, my background reloads. It's really annoying. I know that I can use tables to make sure it stays when I click around, but I've seen a website that doesn't use tables and their background stays.I looked at their code, but I just couldn't make out how they did it.So, my question would be... How can I make sure my background is preloaded as well?Thanks in advance!~jense
  4. jense

    Red crosses

    Oh thank you! Then I have nothing to worry about apparently Sweet!
  5. jense

    Red crosses

    Hello all,I dunno whether this should go in here, because I can't seem to find the cause of my problems.When you go to my site you can see 5 bullets underneath the pistol, which are my navigation links. But whenever I click one of them, afterwards, the bullet image doesn't seem to want to load anymore. I just get a red cross. If I hover over them though, they reappear.I don't know what's the problem and I have no clue how to fix this. Can anyone help me? :)EDIT: Ok, sometimes there's no problem at all... Which makes me ever more scratch my head and blink like a damn fool
  6. jense

    Page Length

    Apparently it doesn't seem to work. I think I'm doing something wrong...What does the * in in *html mean?
  7. jense

    Page Length

    Hello all,I'm fairly new at coding with CSS and it works out pretty well, but I do have a question I couldn't find the answer to in the tutorials.I would like the height of my pages to be as long as the browser you're viewing it in. I know that you can set the height at a certain amount of pixels, but that's not what I'm after. You can see -- here -- that when I don't write enough the dark red just stops showing. I can solve it with , but that makes it too messy. Besides, if you view it in 800x600 or 1024x768 or even bigger, it would all be different as well...So, I would like the bottom of the dark red to be the bottom of the browser. Can anyone help me out?Thanks ahead!Jense
×
×
  • Create New...