Author Topic: Anchors not working in Chrome  (Read 4133 times)

Offline hidden

  • ???
  • Posts: 2
  • I am new here.
Anchors not working in Chrome
« on: April 14, 2012, 01:24:08 PM »
Dear Cutesitebuilder Survivors

suddenly the anchors in my website (www.lsselection.com.br) stopped working properly in Google Chrome. I use a lot of anchors and they are working fine in Explorer but not anymore in Chrome (version 18.0.1025.162). I have CSB4.

Just for example, I have anchors in all pictures of the following pages:
http://www.lsselection.com.br/ls_selection__quadros.htm
http://www.lsselection.com.br/ls_selection__metalizados.htm

Does anyone have any clues on this?

Thanks in advance!

Sergio Weiser
« Last Edit: April 14, 2012, 01:56:08 PM by lsselection »

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Anchors not working in Chrome
« Reply #1 on: April 14, 2012, 07:48:19 PM »
Anchors still work in Chrome. When used normally.

Example 1:  Publish without frames:
Look at this page:  h**p://tuckerkirby.com/contact.htm
Links in the LEFT border are to three anchors in the MIDDLE section.
example the first link is for Charlotte, NC
h**p://tuckerkirby.com/contact.htm#ncchar
All work in Firefox, Internet Explorer and Chrome.

Example 2: Publish WITH frames:
Look at this page:  h**p://lambertusa.com/resource/id19.htm
Links in the MIDDLE section at the top of the FAQ page to anchors in the MIDDLE section.
example:  Is a second coat necessary?  link
h**p://lambertusa.com/resource/id19_m.htm#2ndcoat
All work in Firefox, Internet Explorer and Chrome.

CSB is DESIGNED to open anchors in the MIDDLE frame.
Your site is the first time I have seen the LEFT frame used.
one of your links:  h**p://www.lsselection.com.br/ls_selection__quadros_l.htm#13748
the _l tells me the left border.

If the pictures were in the LEFT border and the descriptions were in the MIDDLE,  links to anchors would still work.
Or if the pictures were in the RIGHT border and the descriptions in the MIDDLE, links to anchors would still work.


« Last Edit: April 14, 2012, 07:56:41 PM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • ???
  • Posts: 2
  • I am new here.
Re: Anchors not working in Chrome
« Reply #2 on: April 14, 2012, 10:22:25 PM »
Hi Samantha

thanks a lot for your attention.
Do you have an idea why it used to work and just stopped this year (I did not pay attention to when exactly it stopped working) OR if there is a workaround for the this?

I use the same site structure since 2004 (with CSB).

Thanks

Sergio

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Anchors not working in Chrome
« Reply #3 on: April 21, 2012, 10:40:35 PM »
Really not sure.  I checked several CSB sites that use anchors and they work on Chrome, Firefox, IE and even Safari on an ipad.  But all of them link to the MIDDLE frame not a border.
Funny how these antique sites do so well in new tech.

When you publish pages with CSB using frames, CSB creates a separate page for each border and the middle PLUS the main htm page which loads all the others.  Read about CSB frames here.  In CSB 5, if you link to one of the border pages (_t, _l, _r_b) it will force the reload of the entire page.  CSB 5 has this type script on the pages:
Code: [Select]
<SCRIPT language="JavaScript">
var n4p = (self.innerHeight != null && self.innerHeight == 0);
if ((parent.TlxPgNm==null || parent.TlxPgNm!='withframes') && !n4p){
    location.replace('withframes.htm');
}
</SCRIPT>
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )