SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Oct 2004
    Location
    kristiansand
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript causing link problem in safari (only)?

    Hi,
    I am working on a new template for wordpress.

    I have used some dynamic functions, and they are all working perfect in all browsers - except Safari (mac).

    There I am having som problems with the links, the page validates so I don't think there is a simple missing div problem (?).

    I have added a screenshot of the problem areas in safari here:
    http://www.kaospilot.co.uk/screenshot.jpg

    Area 1: When clicked, you go directly to the page. Should just open
    Area 2: Does not show as link, only text.

    Anyone?

    The page:
    http://www.kaospilot.co.uk/

    Thanks!

  2. #2
    SitePoint Guru
    Join Date
    Sep 2006
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tbaeck View Post
    Hi,
    I am working on a new template for wordpress.

    I have used some dynamic functions, and they are all working perfect in all browsers - except Safari (mac).

    There I am having som problems with the links, the page validates so I don't think there is a simple missing div problem (?).

    I have added a screenshot of the problem areas in safari here:
    http://www.kaospilot.co.uk/screenshot.jpg

    Area 1: When clicked, you go directly to the page. Should just open
    Area 2: Does not show as link, only text.

    Anyone?

    The page:
    http://www.kaospilot.co.uk/
    Can't test that, but Opera is failing on this line after a few seconds:
    Code:
    var nextpagenumber=parseInt(paginatelinks[paginatelinks.length-1].getAttribute("rel")) //Get page number of next DIV to
    Tab-indentation is a crime against humanity.

  3. #3
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In Safari 2.0.4, I cannot detect the problems you mention--although it is not exactly clear to me what the difference is between "going directly to the page" and it should "just open". All the links work for me. What do you mean by "does not show as link, only text". Do you want it to be underlined? If so, then remove the css styles that remove the underline.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •