SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Wizard iTec's Avatar
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    2,243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DHTML,Javascript,CSS,ASP help needed

    okay first ill give you a link.
    http://www22.brinkster.com/auphreak/
    Now the problem
    when you click on an image in the scroll bar the scrollbar rewinds... how do i fix this?

  2. #2
    Xbox why have you forsaken me? moospot's Avatar
    Join Date
    Feb 2001
    Location
    Clearwater, FL
    Posts
    3,615
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I cant access your site. Is it down?

  3. #3
    SitePoint Wizard wdmny's Avatar
    Join Date
    Jul 2000
    Location
    Here
    Posts
    1,010
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, thats because what you are doing is reloading the page. If you want it to stay in the same position, you need to use Javascript only and NOT ASP at all. Below is some code to use Javascript to change the source of a big picture placeholder.
    Example Code:

    Code:
    <a href="javascript:BigPic.src='pic_big.jpg';"><img src="pic_small.jpg"></a>
    
    <img src="transparentpic.gif" name="BigPic">

  4. #4
    SitePoint Wizard iTec's Avatar
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    2,243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks wes ill have to give it a try... :0)


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
  •