Old 04-21-2007   #1 (permalink)
SaikonoYume
Guest
 

Posts: n/a

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?
 
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,161
Images: 26

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
Registered User
 
arb's Avatar
 

Join Date: Nov 2006
Location: Netherlands
Posts: 460
Images: 186

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,758
Blog Entries: 2
Images: 530

Battle Wins: 20 (rank: #1)
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.
__________________

"I might join your century, but only as a doubtful guest"
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Worpress Code help altus HTML / PHP / ASP / JS 2 04-02-2008 02:11 AM
Code DevineBabyGurl HTML / PHP / ASP / JS 2 09-26-2006 10:40 AM
Php Code Denial HTML / PHP / ASP / JS 1 06-17-2005 09:15 AM
Two code requests Denial HTML / PHP / ASP / JS 3 06-14-2005 06:32 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 10:50 AM.

Powered by vBulletin Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2

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