Solved

div id bookmark tag not working in Firefox

Posted on 2014-02-23
15
586 Views
Last Modified: 2014-02-24
Hi, using the code below, our news page was working fine in Firefox, but now does not. The "div id" bookmarks work ok in IE and Opera and others - latest versions of all.

In the www.sportpathways.com page, at lower right is the scrolling newspanel, each item links to its further info in the news page. It worked fine in Ffox up to a week or so ago, not sure exactly when it stopped. Clicking the news link would cause the news item to display at the top of the browser page as it should., and still does in other browsers than Ffox.

Now in Ffox, it just causes the news page to display with latest item at top.

The div 'bookmark' in the news page is located on the date heading as below

 <div id="news20feb14">
        <h4>20th Feb 2014</h4>
      </div>

The link from the newspanel headline to that items is

<link>spl-news.html#news20feb14</link>

The link code is in an xml file that is coded to the news panel via a .js script.

Any idea what has stopped Ffox working.

Rgds Jonathan
0
Comment
Question by:nextenso
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 4
15 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39880943
Working fine for me tho I noticed one bookmark you have named wrong.

<div id="news20feb14">
<h4>17th Feb 2014</h4>
</div>
0
 

Author Comment

by:nextenso
ID: 39881037
Thanks for quick reply Cathal, was that in Ffox that you tried ??

Maybe I have a local problem with Ffox, I could not find any similar issue in a Google search.  Now that I think of it, Ffox was becoming extrrreeemely slow in page delivery, it made going back to IE an attractive solution !!

So, about 2 weeks ago I installed the FastFox add-on.

I will remove that and note back.

Thanks for noting the one wrong, I was trying out different link formats, forgot to tie those 2 together when reverting back.

Rgds Jonathan
0
 
LVL 58

Expert Comment

by:Gary
ID: 39881040
Yep FF 27
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 58

Expert Comment

by:Gary
ID: 39881042
Since the div is kinda extraneous just put your ID's in the h4 or the section tag and get rid of the div
0
 

Author Comment

by:nextenso
ID: 39881077
Thanks, as in removing the div id tag as follows

  Line 131: <section id="news14dec">
     
  Line 132: <h4>14th Dec 2013</h4>

This did not work, nor the id in the H4

Re the format error comment you noted first, the lower part is the heading name. The newspanel link follows the id format as in, for the one above

     <link>spl-news.html#news14 dec</link>

Rgds Jonathan
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39881210
After viewing the generated code, I see that the page is doing what you have told it to do.  If you click on the descriptive text, it does open the news page in a new window.  Were you expecting something different?
0
 

Author Comment

by:nextenso
ID: 39881258
Hi Dave, when clicking on the news text, the news page should load with the relevant news item at top of page.

It did do that in Ffox, it still does in IE, Opera and other browsers.

If you go to the newspanel and wait till it scrolls down to the news item for 12th Dec, re Golf, you will see the news page still loads with most recent item at top, and not the 12th Dec item at top

Unless this is just a local problem on my Ffox browser

Rgds Jonathan
0
 
LVL 58

Expert Comment

by:Gary
ID: 39881260
Try clearing your cache.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39881267
I waited for the Dec 12th article, clicked on it, and was taken to the news page with the 12 Dec 2013 article at the top.  Even the 30th Nov 2013 article worked except that it ran into the bottom of the page.  If you're only getting the top of the page, then your browser is doing something different.
0
 

Author Comment

by:nextenso
ID: 39881275
Thanks Dave, this issue is only in Ffox browser. As it has recently got so slow loading, when it should be quick, I will archive my Ffox bookmark profile and try a re-install of Ffox,

Anyway, pleased that site visitors are getting the correct operation of the site.

I will note back tomorrow after re-install.

Rgds Jonathan
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39881390
Firefox is what I've been using and it appears to load reasonably fast from here.
0
 

Author Comment

by:nextenso
ID: 39881415
Hi Dave, just about to turn in for the night :)

Yes it is normally fast and reliable, I left IE for it. But last few weeks, Ffox keeps issuing   warning that "Firefox is running slowly, take these .... actions to rectify". But I normally do those things it says anyway. I auto run CCleaner on boot which keeps the cache etc cleared, and have done for 2 or 3 years.

In comparison, IE, Opera, Safari, Chrome are fast. IE has always had the advantage of fast to load the first page on opening the browser.

Rgds Jonathan
0
 
LVL 58

Expert Comment

by:Gary
ID: 39881426
Did you try clearing the cache for the site?
Also if you click in the address bar and press return does it scroll to the bookmark?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39881456
I don't remember ever seeing that message on any of my computers.  All Windows XP with a current version of Firefox.
0
 

Author Closing Comment

by:nextenso
ID: 39882598
Dave's continual attention to the issue helped resolve the problem
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question