|
|
#1 |
|
Anchors not working in CSS layout in Safari
Well they seem to work in both IE and FIREFOX but I just can't seem to get anchors to work in Safari. Apparently this is an issue to do with CSS and the overflow property. I found some information on it here:
http://blog.deconcept.com/code/overf...lowsafari.html However the fix doesn't seem to work for me. The page I am working on is here: http://www.tumbara.com/demo/index2.php?action=about#c1 I've tried all sorts of things to try to get this to work but no such luck. I'm just at my wits end. Any ideas what could be happening here? Last edited by obelix; Nov 8, 2005 at 05:35 PM. |
|
|
|
0
|
|
|
#2 |
|
What exactly is not working?
Also the first link is broken.
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
|
|
#3 |
|
There was just another thread about anchors not working in Safari: http://forums.macrumors.com/showthread.php?t=159809
It's just one of the many small annoyances with Safari, like they display the "Question-mark square" whenever an image is missing, instead of displaying the contents of the alt tag, like they should...
__________________
Those who fail to learn history are doomed to repeat it; those who fail to learn history correctly... why, they are simply doomed. |
|
|
|
0
|
|
|
#4 |
|
Sorry it looks like I posted the wrong link...
http://blog.deconcept.com/code/overf...lowsafari.html What exactly is not working? Well the anchors aren't working. If you click the "Tumbara Project" or "Interview with Keith Baker" links you will find that they don't jump down the page like they should. If you open it in Camino or Firefox it works fine... same with IE... it just doesn't work in Firefox. I'm just not sure how to implement what they are talking about in the blog into my code. |
|
|
|
0
|
|
|
#5 |
|
Right. It's nice and simple. If you look at the source code of the JavaScript fix in the linked example it includes a JavaScript file that defines scrollDivToAnchor. I don't see that on your page.
When I click on the first link (The Tumbara Project) I see the following in the JavaScript console (turn on the Safari Debug menu): Object (result of expression scrollDivToAnchor) does not allow calls. http://www.tumbara.com/demo/index2.php?action=about#c1
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
|
|
#6 |
|
K I included the Javascript and still no luck... any ideas?
http://www.tumbara.com/demo/index2.php?action=about#c2 |
|
|
|
0
|
|
|
#7 | |
|
Quote:
__________________
Sponsor me to cycle 100Km round London in the dark |
||
|
|
0
|
|
|
#8 |
|
Sorry for wasting your time Robbie, I knew that needed to go in there but I guess I neglected to add it in with the last little update. I had taken everything out of the code you see because I wanted to try some other things and then when I made this post I forgot to add a few things back in. Sorry for all the trouble... you've been most helpful
.... oh and it works now! Yay!
|
|
|
|
0
|
|
|
#9 |
|
It's not a problem! I'm glad to here that it's all working for you now
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| iPhone 4 ringer not working | Causality | iPhone Tips, Help and Troubleshooting | 3 | Oct 20, 2012 01:07 AM |
| Youtube not working in Safari? | Hyde244 | Mac Applications and Mac App Store | 12 | Nov 16, 2011 11:12 PM |
| Voice Control Not Working | Thetonyk123 | iPhone | 5 | Oct 11, 2011 03:22 PM |
| Cydia not working day 2! | almac04 | Jailbreaks and iOS Hacks | 18 | Jun 12, 2011 01:22 AM |
| http-equiv refresh: works in Firefox, not in Safari | Lorthirk | Web Design and Development | 1 | Jul 27, 2008 09:22 AM |
All times are GMT -5. The time now is 04:27 PM.





.... oh and it works now! Yay!
Linear Mode

