SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2002
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    javascript image gallery question

    Hi, perhaps somebody can help with this, I'm stumped...

    I've got a site with a ton of javascript image galleries, the kind where:

    (1) there is a set of images associated with a single page,
    (2) the urls for all the images of the set are in the javascript code on the single page.
    (3) When you hit "next" on the image gallery navigation bar, it uses the next image url in the javascript and makes the next image appear.

    Problem: All the image views are on 1 page. Somebody can view 100 images and it would count as one pageview ie one banner impression.

    I started this when I had little traffic but now traffic is ramping and it's costing me to be losing these banner impressions.

    Is there a javascript solution to this problem? Perhaps somehow generating the "next" image on a new javascript-generated page (but one with all the same left/top/bottom includes)?

    I'm imagining the functionality to the user would be the exact same as the current system. The only difference is instead of only loading a new image only, an entire new page is loaded. The new page would have a unique name (ie page1, page2, page3 ,etc). It could not be a meta-refresh, I don't want to be accused of meta-refreshing banner impressions.

    Any ideas?

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can I see the javascript that controls your slideshow?
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2002
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    example

    I use the same basic code as this page: http://javascript.internet.com/misce...slideshow.html.

    Thanks Beetle.


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
  •