This is a discussion on "links" within the Web Page Design section. This forum, and the thread "links are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
links
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
links
alright guys been thinking about using tabbed panels for a website just testing a few things and is there a way to link to a tab as it all runs off the index. I have put the wording contact in the home tab and want it to be a link to open up the contact tab is there a way of doing this?
Here is an example of what i mean. Also if i was to have a completely seperate page away from the tabs how could i link something from that page to open up the tabs and go to a specific tab is this even possible or can i only go back to the index each time. Last edited by lostyboy; Nov 28th, 2007 at 11:00. |
|
|
|
||||
|
Re: links
I'm not sure, but I think your requirements will need javascript knowledge. A normal link can link to a tab using the same 'onclick' command that the tab is set to in your tabber javascript.
A similar javascript tabber can be found at dynamicdrive. This script has documentation - scroll the page and read 'dynamically select a tab anywhere on your page'. This would sort your first requirement. Your second I'm not too sure, but it might be possible. It might need some javascript that dynamically sets the default tab based on the page / link you arrived from?? Perhaps move this thread to Javascript section.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
|||
|
Re: links
yea you will need to know about javescript, which is not hard you can get the basic in like a month or so.
|
|
|||
|
Re: links
JavaScript is required for this sort of thing, but it's not difficult to do. The code that was used in the example page you posted is this:
Cheers
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: links
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: links
Hmm... Monie, I think you misunderstood. lostyboy asked for tabs that can dynamically update content inside a container. Like this...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: links
No, I don't! CSS could do that! Why go for JavaScript?
Here is the same Example that you can do it via CSS! What is the different?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: links
But each tab is a different page:
tab1.html, tab2.html, tab3.html The idea is to use only one page. That only works with javascript...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: links
Ohh, my mistake! Pardon me Stu
but I am sure there is a way for you to do this via CSS! I hope karinne will come to the rescue
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: links
Actually, there is! I must give you that credit. It's just very tricky... I haven't done this before, so I don't know the details.
KARINNE, WHERE ARE YOU?
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: links
Yeah, I think is has to do with {display: hidden} and other stuff tho.. complicated?
Ohh, at the moment, Karinne is "Viewing Index Webforumz.com (Web Design Forums)" - from the Who's Online page
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: links
And she hasn't been active since 22:07...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Last edited by Stuart; Nov 29th, 2007 at 02:35. |
|
|||
|
Re: links
Her last activity was on 11:07
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: links
Oh, right. Our time zones are different! 22:07 in EST (GMT -5)...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: links
Enough Stu..!!!! We will be scolded by karinne and banned for the rest of out life
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: links
hey guys thanks for the response think it went a lil off topic
Just stuck on tryin to open up a different tab from a different subpage im guessing its all java script. Any ideas on how to do this. What i want do is have a page on something random and i have a link on that page to open the contact tab on my index. thats a bit of a head f**k for me so any help would be appreciated. cheers |
|
|||
|
Re: links
Isn't that what the 'Next' button does?
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: links
No sorry probably didnt explain it very well. If i was to have a completley seprate website away from the tabs. what i want is to have a link that will open the index page with the tabs on and then to open a particular tab. I can obvioulsy make a link to the index page but it will only ever open tab 1 by default.
Hope that explains it a bit better. |
|
||||
|
Re: links
Surely you could this using css like monie said and by using Jans artcile in the November newletter
$_GET['ting'] Pages (Safely) With PHP |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Msie doesn't make my links links.. | delusion | Web Page Design | 7 | Nov 7th, 2007 08:05 |
| PR4 links for sale...links in an excellent position | agent14 | Link Building and Link Sales | 1 | Mar 5th, 2007 21:33 |
| PR 5 Links available for recip links | GARY | Link Building and Link Sales | 1 | Aug 19th, 2006 09:52 |
| Blured Links (image links) | bruno89 | Web Page Design | 2 | Jul 25th, 2006 14:48 |
| Different coloured links without modifying links? | Webforumz Staff | Web Page Design | 12 | Aug 29th, 2003 18:48 |