1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

overlaying homepage instead of load new page

Discussion in 'Web Development' started by dzcube, Jul 6, 2010.

  1. dzcube

    dzcube New Member

    hello everyone,

    been trying to figure this one out to no avail.

    i'm creating a portfolio website where the homepage contains images as links.

    when the user clicks on the links, instead of load to a new page,
    i would simply like a transparent overlay to occur, so that you can still see the content of the new page laid over the homepage. the user can get back to the homepage if they click on any area that isn't content from that page (over the homepage areas).

    the image links on the homepage should also have hover states, which i know can be done using jquery fade in/out.

    i'm relatively new to js but i just no idea where exactly to start. i'm not sure if the overlay is done in jquery or straight js.

    a similar effect can be found here at this site:

    any ideas on just where to start would be greatly appreciated.

  2. shabbir

    shabbir Administrator Staff Member

    Try using the JQuery for all such effects of overlays.
  3. dzcube

    dzcube New Member

    ahh, ok. so jquery can handle all of it.

    i noticed that on the example site i put up, each image is a link to a new page,

    but clicking on it still keeps you remaining on the home page. so then i guess the right technique would be to access then display content from the clicked page over the homepage. :confused:

    what key functions in jquery should i focus on?

    thanks again
  4. shabbir

    shabbir Administrator Staff Member

    jQuery can make your link to open as hover box but actual HTML is linking to the new page and I will suggest you to focus on lightbox jquery plugin and see how it works.
  5. dzcube

    dzcube New Member

    ok, thanks
  6. shabbir

    shabbir Administrator Staff Member

    The pleasure is all mine.

Share This Page