Old 04-21-2007   #1 (permalink)
Creampuff
 
Join Date: Apr 2007
Posts: 4

Code Issues

I'm using a code to have some thumbnails open in a new window. But for one picture, the code simply refuses to work. I can't find any differences between it and any other codes that are functioning fine.

Somehow broken code:
Code:
<a href="AubreysWeave.html" onclick="NewWindow(this.href,'Aubrey's Weave','1500','850','yes','center');return false" onfocus="this.blur()">
 THUMBNAIL CODE </a>
Other, perfectly functional code:
Code:
<a href="Frame.html" onclick="NewWindow(this.href,'Frame','900','820','yes','center');return false" onfocus="this.blur()"> 
 THUMBNAIL CODE </a>
There's nothing on the page the broken code links to that isn't on any of the other pages, either, just a bit of text and some CSS styles.

Anyone have any ideas?
SaikonoYume is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2007   #2 (permalink)
Rusty Bio-Hazard!
 
notjustgraphics's Avatar
 
Join Date: Sep 2006
Location: Toronto, Ontario, Canada
Posts: 1,163

Send a message via MSN to notjustgraphics
Check to make sure the file name is exactly right... you have "AubreysWeave.html" and it is case sensitive, so if the file name is "aubreysweave.html" it will not work...

also check to make sure the extension is right... html or htm are commonly interchanged bu authoring tools...

Also, 1500 is very very wide... if your screen resolution is not that wide, I don't know how the script will react.

Other than that, you're right... the code should work.

Mike.
__________________
notjustgraphics is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2007   #3 (permalink)
arb
I need a haircut
 
arb's Avatar
 
Join Date: Nov 2006
Location: Netherlands
Posts: 460

And is "AubreysWeave.html" in the right map?
arb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2007   #4 (permalink)
Janitor of Lunacy
 
Tamlin's Avatar
 
Join Date: May 2006
Location: Sitting in the Wishing Chair
Posts: 5,345

The other thing I noted that you have an apostrophe in the window title in the "broken" piece of code: Aubrey's Weave. It could be that extra apostrophe is screwing up the arguments in your NewWindow function. Try it without.
__________________


Religion: It's all fun and games until someone gets burned at the stake...
Tamlin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code DevineBabyGurl HTML / PHP / ASP / JS 2 09-26-2006 10:40 AM
How to code HTML 4.01 Strict Neil_8_24_93 HTML / PHP / ASP / JS 5 08-25-2006 04:57 PM
Random images php code? supafly HTML / PHP / ASP / JS 7 12-07-2005 01:49 AM
Scroll bar code Stiker HTML / PHP / ASP / JS 9 04-19-2004 01:44 PM


All times are GMT +1. The time now is 05:47 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT