www.webdeveloper.com
Results 1 to 5 of 5

Thread: image script

  1. #1
    Join Date
    Feb 2003
    Posts
    21

    image script

    i was hoping someone could point me in the right direction to find a script that would basically do an image swap but i don't want to use java because of usability issues.....any body know of a good perl script??? basically what i need it to do is have an image that swaps out on click of previous or next.....any ideas??? i don't want the whole page to reload just the image

  2. #2
    Join Date
    Dec 2002
    Location
    Pleasanton, CA
    Posts
    2,132
    i don't want the whole page to reload just the image
    If you use a server-side script; Perl or better PHP for this application, the page will always reload.
    You are therefore left with javascript or a page reload.

  3. #3
    Join Date
    Feb 2003
    Posts
    21
    what if i setup an iframe and have the pictures load in there??? would the whole page still need to reload?

  4. #4
    Join Date
    Dec 2002
    Location
    Pleasanton, CA
    Posts
    2,132
    To be honest, I've never used iframe, but that could work if you know how to change the iframe without javascript.
    You may be able to use something like this.

    <a href="yourimage.jpg" target="iframe">link</a>

    But I really don't know if you can use target this way. It's simply a guess!

  5. #5
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    Server side coding will never be able to detect user actions and thus cannot respond interactively with the user in this way. It would still have to rely on client side scripting.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles