|
r3ickb
|
 |
« on: March 28, 2003, 05:59:00 AM » |
|
I created a rollover that seems to work just fine for anyone viewing from a Macintosh browser, but doesn't work if viewed by the other 97% of the universe, from a PC. I used QuarkXPress to create the HTML coding for the page, so large parts of the code are, of course, magic. But if anyone might know of possible causes and fixes, I'd love to hear from you! Thanks much, Rick www.adagioartglass.com
|
|
|
|
|
Logged
|
|
|
|
|
pgp_protector
|
 |
« Reply #1 on: March 28, 2003, 06:03:00 AM » |
|
Let us see the HTML/Java code & maby we can help FYI This appears to work for us code:
<HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <!-- ImageReady Preload Script (tricWire.psd) --> <SCRIPT TYPE="text/javascript"> <!--
function newImage(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt; } }
function changeImages() { if (document.images && (preloadFlag == true)) { for (var i=0; i<changeImages.arguments.length; i+=2) { document[changeImages.arguments].src = changeImages.arguments[i+1]; } } }
var preloadFlag = false; function preloadImages() { if (document.images) { header_product_over = newImage("images/header-product-over.jpg"); header_product_down = newImage("images/header-product-down.jpg"); preloadFlag = true; } }
// --> </SCRIPT> <!-- End Preload Script --> </HEAD> <BODY ONLOAD="preloadImages();"> <p> </p> <font face="Arial, Helvetica, sans-serif"><A HREF="NEWLINK.html" ONMOUSEOVER="changeImages('header_product', 'images/header-product-over.jpg'); return true;" ONMOUSEOUT="changeImages('header_product', 'images/header-product.jpg'); return true;" ONMOUSEDOWN="changeImages('header_product', 'images/header-product-down.jpg'); return true;" ONMOUSEUP="changeImages('header_product', 'images/header-product-over.jpg'); return true;"> <IMG NAME="header_product" SRC="images/header-product.jpg" WIDTH=100 HEIGHT=15 BORDER=0 ALT=""></A></font> </BODY> </HTML>
[ March 28, 2003, 02:13 PM: Message edited by: pgp_protector ]
|
|
|
|
|
Logged
|
|
|
|
|
MikeBoger
|
 |
« Reply #2 on: March 28, 2003, 06:16:00 AM » |
|
Wow, Quark to do a webpage. That's just scary. I'm surprised it's even possible. You might want to try doing your editing in a basic text editor. I'm having a brain fart right now, so I can't remember the name, but try using the text editor that comes with the Max OS.
Which version of Quark is this, by the way? The last I used was 4 and I don't remember a save as .html or even save as basic text option, so just the fact that you did it in Quark might be the problem.
|
|
|
|
|
Logged
|
|
|
|
|
r3ickb
|
 |
« Reply #3 on: March 28, 2003, 11:16:00 AM » |
|
It's Quark 5, and the html aspect was one of its attractions.
The code looks like something I would post except that when I attempt to, this BBS gives me this message: Sorry, we do not permit this HTML tag: "Parenthesis in HTML tag, SCRIPT, eval "[left parens deleted here]
Email me at mailto:rick@adagioartglass.com and I'll send it to you.
Rick
|
|
|
|
|
Logged
|
|
|
|
|
|
|
MikeBoger
|
 |
« Reply #5 on: March 30, 2003, 08:34:00 AM » |
|
Yep...The rollovers don't work for me (PC, Opera). I took a quick look at the code, and I am by no means a javascript guru, but that seems like an awful lot of code for a simple rollover. Do you have Photoshop? Doing rollovers in Photoshop/ImageReady is ridiculously easy. It generates nice clean code for you that you just have to paste into your source code.
|
|
|
|
|
Logged
|
|
|
|
|
amy
|
 |
« Reply #6 on: March 30, 2003, 08:59:00 AM » |
|
Hi Rick I remember helping you a few times on the support desk Your site is coming along nicely. These fellas will help you debug this code. Where's TWebMan? He'll do it! !["" "[dance]"]("graemlins/dance.gif")
|
|
|
|
|
Logged
|
--Amy Armitage Lunarpages.com
|
|
|
|
Boris
|
 |
« Reply #7 on: April 03, 2003, 05:21:00 AM » |
|
wow. Now that is an insanely long code for a simple page like that Hmm..i cant seem to find where exactly the rollovers are supposed to happen...On the accent tiles pic? If you want i can write you down a cleaner code...because i dont even want to enter the mind of Quark that is trying to do html !["" "[Smile]"]("smile.gif")
|
|
|
|
|
Logged
|
Questions on graphics? Visit the lunarpages Graphics forum!
Bugging Danielle daily since 2003.
Have a Lunar Day!
|
|
|
|
|
|
Boris
|
 |
« Reply #9 on: April 03, 2003, 10:45:00 PM » |
|
yay. Hooray for Indesign 2.0 
|
|
|
|
|
Logged
|
Questions on graphics? Visit the lunarpages Graphics forum!
Bugging Danielle daily since 2003.
Have a Lunar Day!
|
|
|
|