Results 1 to 2 of 2

Thread: Centering an Image on the screen?

Hybrid View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    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 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    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 FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

Posting Permissions

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



Click Here to Expand Forum to Full Width