HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Links Not Updating When 'a href' is changed in DHTML menu
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> DHTML
View previous topic :: View next topic  
Author Message
yourdogisonfire



Joined: 16 Sep 2007
Posts: 2

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

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: 8428
Location: Castle Pines North, CO USA

Posted: Sun Sep 16, 2007 12:30 pm      

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

Posted: Sun Sep 16, 2007 1:32 pm      

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!
 
 
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> DHTML
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group