Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing color int the top bar of the "Thumbnal Viewer"

    I need help changing the color of the top bar of the "Thumbnail Viewer" Downloaded at (http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm)

    The viewer works great, but the top bar where the closing "X" is located is currently transparent and it's too hard to see the "X" to close it. Can I change the color of the bar to white?

    OH - and does anyone know how to make the viewer "pop-up" in the middle of the users screen ?

    Thanks for the help in advance !

    Rick

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try this

    if (ie||ns6){
    crossobj=document.getElementById? document.getElementById("showimage") : document.all.showimage
    if (crossobj.style.visibility=="hidden"){
    crossobj.style.left=ns6? pageXOffset+e.clientX : document.body.scrollLeft+event.clientX
    crossobj.style.top=ns6? pageYOffset+e.clientY : document.body.scrollTop+event.clientY
    crossobj.innerHTML='<div align=right id=drag bgColor=\"white\"><b onClick=closepreview()>X</b></div><img src="'+which+'">'
    crossobj.style.visibility="visible"
    }


    didn't test it
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #3
    New to the CF scene
    Join Date
    Jun 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks for the help...

    I'll give it a try, sure hope it works as my site have over 300 thumbnails I'm working with - LOL

    Thanks again !
    Rick


  •  

    Posting Permissions

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