CSS Menu Reloading Page Over PHP Query

Hi All,

We are using a shopping cart script in conjunction with Freeway. In Freeway we have several category pages using php to call up the items. Each category is a link in our Freeway CSS Menu.

When on a category page you can click on an item to opens a detailed view using a php query (example.php?ac=viewProduct&id4). Now when we click on our current category in the CSS Menu it adds a # to the url (example.php?ac=viewProduct&id4#). Which does not reload the category page.

Since the # is how Freeway makes the current page. How do we get around this and reload the page when clicking on the current category link.

Christian


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Christian,

Does it work when you turn off the Highlight Current Page option?

Joe

On 22 Nov 2011, at 06:37, TeamSDA wrote:

Hi All,

We are using a shopping cart script in conjunction with Freeway. In Freeway we have several category pages using php to call up the items. Each category is a link in our Freeway CSS Menu.

When on a category page you can click on an item to opens a detailed view using a php query (example.php?ac=viewProduct&id4). Now when we click on our current category in the CSS Menu it adds a # to the url (example.php?ac=viewProduct&id4#). Which does not reload the category page.

Since the # is how Freeway makes the current page. How do we get around this and reload the page when clicking on the current category link.

Christian


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’d like to recommend for future versions that this option apply a class like “here” to the link, rather than changing its href out from under it. The classname can be used to deaden the link, either visually or practically, through CSS and/or JavaScript, but then the link would be there in the HTML and not move around.

Walter

On Nov 22, 2011, at 2:44 AM, Joe Billings wrote:

Hi Christian,

Does it work when you turn off the Highlight Current Page option?

Joe

On 22 Nov 2011, at 06:37, TeamSDA wrote:

Hi All,

We are using a shopping cart script in conjunction with Freeway. In Freeway we have several category pages using php to call up the items. Each category is a link in our Freeway CSS Menu.

When on a category page you can click on an item to opens a detailed view using a php query (example.php?ac=viewProduct&id4). Now when we click on our current category in the CSS Menu it adds a # to the url (example.php?ac=viewProduct&id4#). Which does not reload the category page.

Since the # is how Freeway makes the current page. How do we get around this and reload the page when clicking on the current category link.

Christian


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Guys thank you for your response,

@Joe - Yes it works if you turn off Highlight Current Page.

From what Walt is saying it doesn’t sound like there isn’t a way to get the page to highlight it’s current page and solve my issue.

Just to confirm, there’s no other solution besides turning off “Highlight Current Page”?

TeamSDA_Christian


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You could use a javascript solution like this

http://www.richnetapps.com/automatically_highlight_current_page_in/

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options