...

View Full Version : How to Create Tab buttons



ScorpionZ
06-19-2007, 08:31 AM
Hi i am Scorp,
I need to know the the basic idea of how to create Tabbuttons on Web Pages.....Do any one have any idea then do send me a code of how to create it just give me the basic code and action applied on it
-----------------..............Thanx............------------------

Jacka
06-19-2007, 09:34 AM
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

Philip M
06-19-2007, 09:39 AM
Nothing to do with JavaScript.

Google is your friend! Have a look at (e.g.) :-

http://www.webdeveloperdirect.com/photoshop/tutorial/tabbuttons.html

ScorpionZ
06-19-2007, 09:40 AM
Thanx Jacka,
I will be back soon.......

ScorpionZ
06-21-2007, 06:37 AM
Well i have visisted the sites provided to me....
But this these codes are not easy to understand...
Send me some beginners code to understand......:rolleyes:

Philip M
06-21-2007, 07:24 AM
You are trying to run before you can walk.
Master the art of underwater motorcycling first.

ScorpionZ
06-21-2007, 08:02 AM
Well i am not here to read a bull **** replies.....
If u cant help..... then try one thing do not reply me....
i am not here for any fight or cross wordings....
I am Here for solution....
You got that Philip M .....


Well Jacka your link was nice it will be helpful for me in future....
But for now do give me some basic idea....:cool:
Thanx

Philip M
06-21-2007, 11:29 AM
This person is a silly, petulant, spoilt child.
Please try to grow up.

ScorpionZ
06-22-2007, 11:38 AM
if u do think i am a child

Then i think the respect i am gonna give u is enough....

---------------- SHUT YOUR crap Mouth POST..................
Is that all for YOU....

bazz
06-22-2007, 11:55 AM
well, well.

I am not sure what you mean by tabbuttons on webpages if they are different from what was shown in dynamicdrive.com

CodingForums is a wonderful resource for people who are learning to write their own code and whilst, sometimes, people reply to questions and freely supply code; this is not normal practice.

Normal practice is for people to reply with suggestions, ideas and links to other resources, where the thread starter can read up on more information to achieve their aim.

I think that simply expecting to be given code and, then, throwing a wobbler when it is not immediately forthcoming is, shall we say, not the best way to win friends and influence people.

Out of sheer curiosity, I have now read all eleven of your previous posts in this forum. It seems that when people here give advice about not using tables, for example, that you criticise them because you insist that tables is correct for your page. Using CSS is a much better way to do your project but because you argue with those who would like to help you voluntarily, and who are much more experienced, i feel that I can't offer any tips that you would appreciate.

Quite, how you are going to enjoy this post is going to be interesting to say the least.
bazz

Philip M
06-22-2007, 12:20 PM
I expect his response will scale even more vertiginous intellectual heights.

Another senior member of this forum has messaged me privately as follows;-

"I really don't like that ScorpionZ person. First we give them a suggestion but its too hard for them, then they have the nerve to say "Give me something easier". I hate people who want to take the easy way out. He gave me bad rep though it didn't matter much. I'm guessing he likely gave you bad rep as well. I agree fully with your post. People try to walk before they can crawl."

bazz
06-22-2007, 12:32 PM
I expect his response will scale even more vertiginous intellectual heights.

Another senior member of this forum has messaged me privately as follows;-

"I really don't like that ScorpionZ person. First we give them a suggestion but its too hard for them, then they have the nerve to say "Give me something easier". I hate people who want to take the easy way out. He gave me bad rep though it didn't matter much. I'm guessing he likely gave you bad rep as well. I agree fully with your post. People try to walk before they can crawl."

I am not worried about bad rep. Those who 'know me' around here know what I am like and that I am very appreciative of help and pointers to tutorials. If I am a professional then I consider myself - in (UK) footballing terms to be perhaps 3rd division whilst some of you guys - especialy (I have to say), FishMonger are the 'Manchester Uniteds' of the Premier league.

That said, I have been given a good grounding by you guys and it is with that experience that i said what i did in my last post.

When dealing with my day-to-day customers, I have sometimes to remind myself of the saying, "you can lead a horse to water but you can't make it drink". I usually add to this (in my head), that if I knew it wouldn't drink, I wouldn't have led it there. All that means is: if I can tell or II get the impression that a questionner won't appreciate or accept the help I can give, then why should I waste time giving it - I shan't.


bazz

Philip M
06-22-2007, 12:49 PM
"When I was a child I spake as a child, I thought as a child and I understood as a child .......... But when I became a man I put away childish things ...... "

But I don't think that this chap is going to get very much help around here in the future.

ScorpionZ
06-25-2007, 06:12 AM
Well Mr Bazz and Mr Philip M
I know u people are more experienced then me i do appreciate ..... but u know i am not a professional of this field i have just switch on this field so it takes some times to adjust......
and as far as my language is concerned.... U people have already know who started first.....Mr Philip M starts this cross wording infact i did mention him that i am not here for this all cross wording i am only here for help in order to get my self involved in this field....Mr Bazz see the post of MR Philip M(06-21-2007 11:24 AM) in the reply of my post(06-21-2007 10:37 AM) ... .... So now i think you people have understand this all situation now just leave all this matter and lets go for genuine discussion i dont even wana concerned these matters anymore....and dont wana involve my self...

So lets start the discussion about the topic that i have started .....
Do Reply to this.....i will again mention i am not the professional...but i do wana be....

bazz
06-25-2007, 10:18 AM
You got two answers in the posts immediately beneeath the one where you asked the question. Try them out. Dynamic drive requires only that you copy and paste so try that. then, look at the reuslt in your browser and if your are not sure how it does what it does then ask a more specific question showing what code you already have.

A third answer for you is:

I happen to think that you would be better off asking in the CSS forum because, as far as I recall, this can be done with css.

bazz

ScorpionZ
06-25-2007, 12:30 PM
and Do let me know Where i am wrong... in this code...

ScorpionZ
06-25-2007, 12:33 PM
I am unable to understand the post....

Well as a matter of fact i have a little code could please solve the problem... its about Edit and Delete button i am unable to find the solnz....
please go through it and solve my problem of edit and delete button The text that will be enter from textfield will be submit on this table row then i want to delete that with delete button and if i want to edit then it will be edit please do correct it...
<html>
<head>
<script type="text/javascript">

/* @@@@@@@@@@@@@@@@@@@@@@ Load Poll @@@@@@@@@@@@@@@@@@@@@ */
function loadPoll_name_onclick(){

var loadpollnamerow = document.getElementById("pollId");
var loadpollname = document.getElementById("pollname").value;


loadpollnamerow.innerHTML+="<div id='idpoll' style='border:1px solid #C0C0C0;'><span style='border:1px solid #C0C0C0;'><tr><td><input type='button' value='Edit' ><input type='button' value='Delete' onclick='deletePoll_onclick('idpoll')' /></td></span><span><td>" + loadpollname + "</td></tr></span></div>";

}

function editPoll_onclick(){

}

function deletePoll_onclick(){
var tbl = document.getElementById("idpoll").parentNode;
tbl.parentNode.removeChild(tbl);

}


function poll_name_onclick(){

}

/* @@@@ Displays Poll Question @@@@ */

function display_poll_question(pollname){

var pollquestion = document.getElementById(pollname);
pollquestion.style.display="block";

}
</script>

<style type="text/css">

/* @@@@@@@@@@@@ CSS for HyperLink @@@@@@@ */

a:link{
color: #333366;
text-decoration: none;
font-weight:bold;
}
a:visited{
color: #333366;
text-decoration: none;
font-weight:bold;
}

a:hover{
text-decoration: underline;
color: #333366;
font-weight:bold;
}

/* @@@@@@@@@@@@ End of CSS for HyperLink @@@@@@@ */



.test{
position:absolute;
top:500px;
left:30px;

}

.poll{

border-style:solid;
border-width:1px 1px 1px 1px;
border-color: #C0C0C0;

position:absolute;
top:50px;
left:30px;
}

</style>
</head>

<body>

<!-- @@@@@@@@@@@@@@@@@@@@@@@@@@ Poll Name @@@@@@@@@@@@@@@@@@@@@@@@@@ -->
<div id="pollId" class="poll" >

<div style="width:350px;border:1px solid #C0C0C0; background-color:#808080;">
<span style="color:#FFFFFF; font-weight:bold;">Poll</span>
</div>

<div>
<b style="font-size:14px;">Poll Name :</b>
<input type='text' name='name' id="pollname" />
<input type='button' name='name' value='Submit Poll' onclick="loadPoll_name_onclick('pollId')">
</div>

<div style='border:1px solid #C0C0C0;'>
<span style='border:1px solid #C0C0C0;'>
<tr><td><input type='button' value='Edit'><input type='button' value='Delete'></td></tr>
</span>

<span >
<a id="pollname1">Country</a>
</span>
</div>

</div >
</body>
</html>

ScorpionZ
02-16-2008, 05:28 AM
Not to Mention



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum