Top.Mail.Ru
? ?
Javascript's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Thursday, July 22nd, 2004

Time Event
3:15p
[Error: Irreparable invalid markup ('<ok,>') in entry. Owner must fix manually. Raw contents below.]

<Ok, for my new site I need an image scrolling across the screen. This is the code I've made. External script: var num = Math.floor(Math.random()*2)+1 if (num== 1) var quote = "<center> <marquee direction=right scrollamount=12> <IMG SRC='quote'></marquee></center>" if (num==2) var quote= "<center> <marquee direction=right scrollamount=12> <IMG SRC='noname'></marquee></center>" site script: <script LANGUAGE="JavaScript" SRC="quote.js"> document.write("<B>"+quote+"</B>"); </script> Ima noob at javascript and I cant figure out wats wrong. Could someone please help me!!!
8:29p
alright I have this random image generator that creates a series of images at the bottom of my page. The problem I am having is that the images have a small space between each of them, about two pixels. This is causing the line of images to be just a tiny bit too big for my layout. Is there any way to stop it from putting those pixels between each image?

my codeCollapse )

<< Previous Day 2004/07/22
[Calendar]
Next Day >>
About LiveJournal.com
Image