SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Nov 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Browser Javascript Compatibility

    Hello everyone,

    I am relatively new to using javascript. I had a question about javascript's compatibility with various browsers. For example, I notice some websites that have slideshows and other javascript elements that my browser doesn't block, while other websites have js elements that my browser will block.

    Why does my browser block some and not others. Is it how you code it? Perhaps different js libraries are acceptable while others are not?

    I know that it is a security measure. Is there anyway around it. I am trying to design a slide show on my home page that starts onLoad and shuffles through pictures. It is a common technique used and I was wondering how people get these slide shows to play without my browser blocking them.

    Thanks!

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    What seems strange to me is that your web browser is blocking some of these web elements and not others.

    Can you please help us to understand, perhaps with examples, the problem that you're having?
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Do you perhaps have an internet security suite installed that is blocking certain scripts? Or any browser addons like AdBlock that might be doing something like that?
    (Which browser are you using by the way?)
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }


Tags for this Thread

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
  •