overlaying homepage instead of load new page

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

  1. dzcube

    dzcube New Member

    Joined:
    Jul 6, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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:
    studio-output.com

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

    thanks!
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Try using the JQuery for all such effects of overlays.
     
  3. dzcube

    dzcube New Member

    Joined:
    Jul 6, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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,
    studio-output.com/page1
    studio-output.com/page2
    studio-output.com/page3
    etc.....

    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

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    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

    Joined:
    Jul 6, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    ok, thanks
     
  6. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    The pleasure is all mine.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice