Web Hosting Forum | Lunarpages
News: Server Migrations to San Diego: Deneb, Felix and Tsohea are moving to San Diego starting Tuesday, December 30, 2008 at 10pm Pacific. They will complete their moves Friday night, January 2, 2009

Isis, Seth and Ez-web-n-mail will move physically on Friday, January 2, 2009

Please see the forum posts at http://www.lunarforums.com/lunarpages_web_hosting_server_information-b54.0/

+ Submit Your Own Web Site for the January 2009 Site of the Month Contest!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 05:07:56 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Rollover works on Mac, not PC  (Read 395 times)
r3ickb
Space Explorer
***
Offline Offline

Posts: 6


WWW
« 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
Galactic Royalty
*****
Offline Offline

Posts: 316



WWW
« 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>&nbsp;</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
Jabba the Hutt
*****
Offline Offline

Posts: 654



WWW
« 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
Space Explorer
***
Offline Offline

Posts: 6


WWW
« 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
r3ickb
Space Explorer
***
Offline Offline

Posts: 6


WWW
« Reply #4 on: March 30, 2003, 05:13:00 AM »

Better yet, go to www.adagioartglass.com and view the source.

Thanx,
Rick
Logged
MikeBoger
Jabba the Hutt
*****
Offline Offline

Posts: 654



WWW
« 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
Administrator
Professor in Nanotechnology
*****
Offline Offline

Posts: 4697


Lunarpages Rocks my Socks


WWW
« Reply #6 on: March 30, 2003, 08:59:00 AM »

Hi Rick   "[wave]"  

I remember helping you a few times on the support desk  "[Smile]"

Your site is coming along nicely.  These fellas will help you debug this code.

Where's TWebMan?

He'll do it!   "[dance]"
Logged

--Amy Armitage
Lunarpages.com
Boris
Master Jedi
*****
Offline Offline

Posts: 1082



WWW
« 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]"
Logged

Questions on graphics? Visit the lunarpages Graphics forum!

Bugging Danielle daily since 2003.

Have a Lunar Day!
MikeBoger
Jabba the Hutt
*****
Offline Offline

Posts: 654



WWW
« Reply #8 on: April 03, 2003, 10:39:00 AM »

quote:
Originally posted by Autarkis:
...because i dont even want to enter the mind of Quark that is trying to do html   "[Smile]"

I hear that.  I don't even like to use Quark to do page layouts.
Logged

Boris
Master Jedi
*****
Offline Offline

Posts: 1082



WWW
« Reply #9 on: April 03, 2003, 10:45:00 PM »

yay. Hooray for Indesign 2.0  "[Big
Logged

Questions on graphics? Visit the lunarpages Graphics forum!

Bugging Danielle daily since 2003.

Have a Lunar Day!
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM