Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Attempting to create linked layers for employee biography's
Old 11-11-2009, 03:49 AM Attempting to create linked layers for employee biography's
Junior Talker

Posts: 4
Location: Fort Worth
Trades: 0
We are creating biography pages for our employees, I have a general idea of how I want the pages to look. I thought it would be a waste of time to create a new page for each employee. I would like create layers so that when an employees picture is clicked, a semi transparent layer appears with the picture plus a formatted biography paragraph.

What is the best language to use for this type of action? All my pages are php based. Here is a picture of my idea, please critique my photo if this is impossible.

PhysAssist is offline
Reply With Quote
View Public Profile Visit PhysAssist's homepage!
 
 
Register now for full access!
Old 11-11-2009, 03:54 AM Re: Attempting to create linked layers for employee biography's
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Only language you can use is javascript.


Lightbox 2 (Unless you want to redevelop the entire site in Flash)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-11-2009, 03:59 AM Re: Attempting to create linked layers for employee biography's
Junior Talker

Posts: 4
Location: Fort Worth
Trades: 0
Fair enough, is there a better way to go about something like this? I mean, the layer doesn't need to be transparent, and I don't necessarily need the picture. Just thought it would look better.
PhysAssist is offline
Reply With Quote
View Public Profile Visit PhysAssist's homepage!
 
Old 11-11-2009, 04:14 AM Re: Attempting to create linked layers for employee biography's
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Implementing lighbox (or one of the variants) would do what it sounds like you need or you could write some basic javascript to show or hide high z-index absolute elements with or without opacity.

All you need is to create a single page with all the information in then use JS to show the element the user clicks on.

self promo link -> http://www.modtalk.co.uk/article/dhtml-tabs/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-11-2009, 05:05 AM Re: Attempting to create linked layers for employee biography's
Junior Talker

Posts: 4
Location: Fort Worth
Trades: 0
I have the boxes to link up properly, but it seems that the only way to insert text into the page is through the title="text" property

Is there another way of inputting text? I am not yet a pro on reading .js files

Thanks again
PhysAssist is offline
Reply With Quote
View Public Profile Visit PhysAssist's homepage!
 
Old 11-11-2009, 05:10 AM Re: Attempting to create linked layers for employee biography's
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
into the page is through the title="text" property
Explain please?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-11-2009, 05:28 AM Re: Attempting to create linked layers for employee biography's
Junior Talker

Posts: 4
Location: Fort Worth
Trades: 0
Code:
<a href="images/image-1.jpg" rel="lytebox" title="Image Description">Image #1</a>
Thats the basic syntax from the lytebox page. I haven't found any documentation on all the optional properties, which is why I ask
PhysAssist is offline
Reply With Quote
View Public Profile Visit PhysAssist's homepage!
 
Old 11-11-2009, 05:58 AM Re: Attempting to create linked layers for employee biography's
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Ok, so you want to put more than captions to whatever you are showing.

Though if it is only a paragraph of text, the title attribute (while not being ideal because of accessibility issues) would be the place to put it.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-13-2009, 03:25 PM Re: Attempting to create linked layers for employee biography's
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You might want to look into Greybox, you can put ANYTHING into a Greybox modal window.
There are similar jQuery solutions:

http://fancybox.net/

http://colorpowered.com/colorbox/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 11-13-2009 at 03:27 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Attempting to create linked layers for employee biography's
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.46743 seconds with 12 queries