Results 1 to 2 of 2

Thread: Random Content Script

  1. #1
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random Content Script

    Hey,

    How's it going? I hope you're all doing well. I was wondering if someone could help me out.

    So I've been having a couple of problems with the random content script. I basically want to put a few images in a table that randomize and when a person clicks on the image they're taken over to that site. I thought this would seem easy enough, however, it isn't.

    Here are the services and software I'm using:

    Go Daddy Hosting
    Microsoft Expressions Web 2


    When I place the images Expressions web, the code works just fine, however, the pictures aren't visible in design view. But, when I save it and preview it there isn't a problem and the images are visible in the browser.

    Okay, now when I go to place the site with images up on Go Daddy and view the site, there isn't anything there and all I see are broken links and images.

    I've contacted Go Daddy and they've notified me that there must be something wrong with the script.

    What am I doing wrong? Please help!

    And here's a sample of the div code that I've used for each image on the script:

    <table style="width: 0%">
    <tr>
    <td><div class="group1">

    <a href="www.weathernetwork.com"><img alt="" height="120" src="square1.jpg" width="193" border="0"/></a></div></td>

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I've moved this thread here because I believe the script you are talking about is a Dynamic Drive Script. If so:

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    also, for us to help out in the best manner possible:

    Please post a link to the page on your site that contains the problematic code so we can check it out.


    If this is not a Dynamic Drive Script, please accept my apologies, but we could still use a link to your live page that shows this problem - this would be to help us help you.

    That said, though I cannot be certain, it sounds like a simple issue. The images are not on the server. This could mean that you forgot to upload them, or perhaps you uploaded them to a location different than that as listed in your source code. And remember, upper and lower case matter on the web in both paths and filenames as well as the file extension. This is generally not the case on the local machine.

    As for preview mode not working, this is typical of many editors where javascript is involved. Scripts should be tested in browsers.

    Finally (for now), the script is in all likelihood OK if it works locally. It is often typical of hosts to blame a script when they cannot be bothered with troubleshooting your implementation of it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •