View Full Version : Creating and navigating tabbed pane in javascript


neeraj_bhardwaj
08-16-2006, 06:52 AM
Hi All,
i am new to this forum. I want to create a multirow tabbed pane
on my jsp page. i want to manage their postion accordingly when
tab on upper page has been clicked.

functionality like...
right click my computer -> properties -> system properties

this window has tabbed pane.i wnat this feature to impelement
in my jsp page.
but one more problem is that my tabs count will be dynamic.

Neeraj

danjam
09-19-2006, 08:47 AM
Here is a dynamic HTML approach to Tabbed content, with examples and other scripts.

JavaScript tabbed content (http://www.webonweboff.com/widgets/js/tabbed_content.aspx)
www.webonweboff.com/widgets/js/tabbed_content.aspx

It uses object-oriented JavaScript, neat and easy to plug-and-play, and supported across browsers.

Single row supproted so far...

Enjoy!

yaldex
11-02-2006, 05:42 AM
one way i know to set up the tab(iture) if you will, lol, is you can use css....

Code:

<STYLE TYPE="text/css">
.image1 {left:[number of px to the left]px;top:[number of px from the top]px;}
</STYLE>

<IMG ID="1stimage" NAME="1stimage" CLASS="image1" SRC"..."></IMG>

to change the image use...

<SCRIPT>
var image_1=new Image();
var image_1.src="images src";
var image_1_over=new Image();
var image_1_over.src="image1s over src";

use this to change it...

window.document.1stimage.src=image_1_over.src;

-----------------------------------------------------------------
hope this helped,