Navigation problems |
Post Reply | Page 123> |
Author | ||
cs
Newbie Joined: 04-May-2009 Location: Arkansas Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 04-May-2009 at 11:11pm |
|
I am just installing Product Cart for the first time and integrating with the design of my current website. The process looked pretty straight forward, but I've already run into a problem. The links are tied to the product cart directory, rather than going to the main web two levels higher. See what I mean at this URL - http://www.creationsensation.net/productcart/pc/home.asp
Also, my pictures and the javascript in the top border are not running. I am assuming that the problems are all tied to the same thing. I have checked all the links in the header. asp and footer.asp and tried adding ../../ and I've also tried changing the links to direct www.etc ... , but nothing has corrected the problem yet. I would appreciate any help. Thanks |
||
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
|
Hi cs,
You will need to open whatever file contains the navigation links on the right side and change the "HREF" statements so that they use absolute links, instead of relative links. For example:
... should become:
This will take care of the problem. |
||
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
|
Hi CS,
The menu you are using is being generated via a bit of Javascript, although I see no reason/benefit for it in this case as the javascript just writes out some standard HTML and does nothing that would require the use of javascript. |
||
cs
Newbie Joined: 04-May-2009 Location: Arkansas Status: Offline Points: 8 |
Post Options
Thanks(0)
|
|
I changed the "HREF" statements in the javascript to absolute links, and they still go to /ProductCart/pc/carlasblog.htm . Why? Where is the additional information coming from?
And yes, I realize that all three problems, the navigation, the missing pics, and the missing logo are all generated by javascript. I guess I could dump the javascript, but I like the look of the logo it generates, and if I can get one problem fixed, I can probably get all three to work properly. Any other suggestions? |
||
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
|
Hi,
Do you have more than one copy of the menu.js javascript? I checked the one in use : http://www.creationsensation.net/menu.js and it is unchanged from when I viewed it earlier and is using relative links. e.g. :-
Edited by Hamish - 05-May-2009 at 10:39am |
||
cs
Newbie Joined: 04-May-2009 Location: Arkansas Status: Offline Points: 8 |
Post Options
Thanks(0)
|
|
No, there is only one menu.js, and you have a good eye. I changed it back after I tried it. But I will be glad to change back to absolute links and let you take a look. Maybe I did something wrong. Give me a few minutes. I'll post back here when I'm finished.
|
||
cs
Newbie Joined: 04-May-2009 Location: Arkansas Status: Offline Points: 8 |
Post Options
Thanks(0)
|
|
Okay, now take a look at menu.js and menu_lower.js and menu_pictures.js. You should see the changed I made to the links.
Thanks! |
||
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
|
Hi CS,
It's still the same when I look from here - you have remembered to upload them ? :-) http://www.creationsensation.net/menu.js |
||
cs
Newbie Joined: 04-May-2009 Location: Arkansas Status: Offline Points: 8 |
Post Options
Thanks(0)
|
|
uh. . . yeah, I did upload them . . to the wrong directory! <blush> Thanks for the prod. I did it again, and that seems to have fixed the links. And I bet I can figure out how to fix the pictures and logo as well. If I get stuck again, I'll be back.
Thanks! |
||
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
|
No Problem - we've all made that mistake. good luck with the rest of the integration.
|
||
Post Reply | Page 123> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |