HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Links Not Updating When 'a href' is changed in DHTML menu
Post new topic   Reply to topic    HTML Help Forum Index -> DHTML
View previous topic :: View next topic  
Author Message
yourdogisonfire



Joined: 16 Sep 2007
Posts: 2

PostPosted: Sun Sep 16, 2007 9:23 am     Links Not Updating When 'a href' is changed in DHTML menu Reply with quote

OK, I have a DHTML expandable menu that, when someone clicks on an image, it

takes them to a certain page. The code is currently:

Code:

p = new createPanel('al','Account Info');
p.addButton('story.jpg','Story','parent.main.location="background.php"');
o.addPanel(p);


I have about 12 of these links, and all the others in the menu work fine.
With this particular one, I changed the "parent.main.location"

At first, the line was 'parent.main.location="story.php"');
but I decided to change it. I've uploaded all the changes, and yet this link

STILL accesses 'story.php' instead of 'background.php' like it is supposed to.

This is the best part: I deleted the page 'story.php' off my server. Even after

me doing that, the link continues to call up that page.

I have cleared my cache, cookies and Firefox's "personal data" collection.

Also, there are no other pages on my site that even look like 'story.php'.

Anyone know why a line of code specifically calling for a different page would

keep pulling up an old page - especially a page that has been deleted?

Thanks a ton,
Aaron
Corey Bryant



Joined: 15 May 2004
Posts: 8154
Location: Castle Rock CO USA

PostPosted: Sun Sep 16, 2007 12:30 pm     Reply with quote

Have you made sure that everything is updated? Sometimes, people mistakenly use two pages instead of one.

Have you maybe checked on a different server? Considered creating a copy of background.php and naming it story.php?

_________________
Corey
Toll Free Fax Numbers | Mile High Merchant Accounts | LoudPCI
yourdogisonfire



Joined: 16 Sep 2007
Posts: 2

PostPosted: Sun Sep 16, 2007 1:32 pm     Reply with quote

Corey Bryant wrote:
Have you made sure that everything is updated? Sometimes, people mistakenly use two pages instead of one.

Have you maybe checked on a different server? Considered creating a copy of background.php and naming it story.php?


Ahhh... good thinking! That did the trick!
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> DHTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial