SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast greg606's Avatar
    Join Date
    Jan 2006
    Location
    Poland, Wrocław
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem with yshout shoutbox

    I bought yshout!
    I looked at the example. It worked fine.
    I put it on my page and it worked but with small condition!!!! (not mentioned before purchase!!!!)

    If in the script the address is with "www" the script will not work when someone visit my domain without www.
    So it's only partial solution!

    <script type="text/javascript">
    new YShout({
    yPath: 'http://www.szczotka.net/yshout/'
    });
    </script>

    One time I have shoutbox and another one I don't have.

    Please, any ideas how should look the script to work in both cases?
    Shall I send you the whole shoutbox script? (I wonder what the author would thik)

    Regards,
    Greg

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    You could set up a server-based redirection that sends people from szczotka.net to www.szczotka.net
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Enthusiast greg606's Avatar
    Join Date
    Jan 2006
    Location
    Poland, Wrocław
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    which address is better with or without www?


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
  •