Results 1 to 6 of 6

Thread: Getting Tired of Non-working Javascripts

  1. #1
    Join Date
    Jun 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Getting Tired of Non-working Javascripts

    ok,

    can someone please give me the code for a "slide-in" or whatever image slideshow that DOES work?

    i have tried two of the javascripts on DD that do this... one would only show half the image and the other was up to its arse in errors...

    i am really tired of javascript after this and i just want one to freaking work... THE FIRST ONE I USED EVEN WORKED FINE IN OPERA! BUT NOT EVEN CLOSE IN INTERNET EXPLORER! why can't the same code just be used instead of coding it 'all special' just for internet explorer?

  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 never had a problem with any of the scripts on this site.
    - John
    ________________________

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

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hehe. Ok, firstly, are you getting these errors on the DD demo pages, or only after you've added to them your site? If the later, then the problem most likely is due to either the way you've installed it, or other scripts on your page conflicting with each other.

  4. #4
    Join Date
    Jun 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok... i've resolved it down to this...

    I'm using the "Drop-In Slideshow II (hyperlinked)" script, and I uploaded it without changing anything except the pause interval (from 3000 to 6000) and the image locations. I uploaded it and it still does not work correctly in Internet Explorer. It gets cut off and is off to one side. Please help me! I do not have any JavaScript experience (although I can understand some things because I do some PHP work) and I have no idea how to fix it!

    To see it, go to http://www.rabid-revolver.com/index.php and see it in the lower left hand corner, under the OTHER STUFF header. Thank you for your help!

  5. #5
    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

    Just a wild guess, as I saw someone else complaining about what looks to be a similar issue try changing this:
    HTML Code:
    <td height="32" align="center" valign="middle">
    	  <script src="/includes/affiliates.js">
    	  //Drop-in slideshow II (hyperlinked)- By Dynamic Drive
    	  //For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
    	  //This credit MUST stay intact for use
    	  </script></td>
    to:
    HTML Code:
    <td height="32"  valign="middle" style="text-align:center!important;text-align:left">
    	  <script src="/includes/affiliates.js">
    	  //Drop-in slideshow II (hyperlinked)- By Dynamic Drive
    	  //For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
    	  //This credit MUST stay intact for use
    	  </script></td>
    You may have to use relative positioning to get it just so, something like:
    Code:
    style="text-align:center!important;text-align:left;position:relative:left:10px;"
    adjusting the 10px to get it just so in IE. Mozilla will ignore relative positioning of a table cell.

    One other thing, change the <table> tag that contains this cell temporarily to border=1 to make sure the cell is wide enough to contain 88px to begin with in IE.
    Last edited by jscheuer1; 06-02-2005 at 07:00 AM.
    - John
    ________________________

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

  6. #6
    Join Date
    Jun 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks so much man...

    your first suggestion without the 10px ended up working just fine...

    i really appreciate it... thanks again...

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
  •