Results 1 to 2 of 2

Thread: Centering an Image on the screen?

  1. #1
    PowerPoster
    Join Date
    Jan 04
    Posts
    3,616

    Centering an Image on the screen?

    I am building a image viewer just to gain the experience. I have a series of thumbnail pics in which I can hover over them. When I do this, I want to be able to show the full-size image centered in the middle of the screen. Can someone show me a coding example of this using JQuery?

    Thanks,
    Blake

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 08
    Location
    Trivandrum, Kerala, India
    Posts
    7,557

    Re: Centering an Image on the screen?

    If you search for "jquery image gallery", you will find lots of results with code.

    There are also several plugins available which makes it easier for you. No need to re-invent the wheel if your aim is to just use it in your site. Otherwise, if you are doing it for learning purpose, google it and view the code for better ideas.


    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD Athlon X2 5200+, ASUS Motherboard, 2 GB RAM, 400 GB HDD, Nvidia 8600 GT 512MB, 19.5" TFT(Wide), Creative 5.1 Home Theater

    Social Group: VBForums - Developers from India

    Skills: PHP, MySQL, jQuery, VB.Net, VB6, Photoshop...

Posting Permissions

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