/    Sign up×
Community /Pin to ProfileBookmark

onClike commands help

OK hey there I am a first time poster here, and I would like some help on this code that I am trying out on my web site. I don’t really know if this is a good way to start of my career on this site. I am not lazy but just having difficulty understanding how to do this and any help would be greatly obliged.

I call it center6 here is the base code yes it’s a little sketchy. I’ll put a URL: up of an animated gif that has an example of what I’ll like the script to do.
[url]http://www.supportcodes.com/images/preview_what.gif[/url]

OK here i brief summery of what i would like it to do on cell 1-6 click “see image for clarification” have some html/text displayed in the td know as preview. that what it really comes down too.


___________________________________________________________________

<table width=”500″ height=”315″ border=”0″ bgcolor=”0099ff” cellspacing=”0″ cellpadding=”0″ background=”http://www.supportcodes.com/images/slim6.GIF“>
<tr>
<td height=”15″ colspan=”9″></td>
</tr>
<tr>
<td width=”7″ rospan=”6″></td>
<td width=”180″ id=”preview” align=”center” rowspan=”5″>
this is Yosh speaking
</tr>
<tr>
<td width=”5″ rowspan=”4″></td>
</tr>

<tr>
<td width=”5″ rowspan=”6″></td>
<TD width=”60″ align=”center”><form>
<input type=”button” value=”cell-1″ name=”button1″ onClick=”preview.bgColor=’ffffff'”>
</form></td>
<TD width=”60″ align=”center”><form>
<input type=”button” value=”cell-2″ name=”button2″ onClick=” input=’hey mother fuxkr’ preview.bgColor=’ffccff'”>
</form></td>
<td width=”5″ rowspan=”6″></td>
</tr>

<tr>
<td width=”60″ align=”center”><form>
<input type=”button” value=”cell-3″ name=”button3″ onClick=”preview.bgColor=’0099ff'”>
</form></td>
<td width=”60″ align=”center”><form>
<input type=”button” value=”cell-4″ name=”button4″ onClick=”preview.bgColor=’ee66ee'”>
</form></td>
</tr>

<tr>
<td width=”60″ align=”center”><form>
<input type=”button” value=”cell-5″ name=”button5″ onClick=”preview.bgColor=’ff6666′”>
</form></td>
<td width=”60″ align=”center”><form>
<input type=”button” value=”cell-6″ name=”button6″ onClick=”preview.bgColor=’ff0066′”>
</form></td>
</tr>

<tr>
<td height=”11″ colspan=”10″></td>
</tr>
</table>


_________________________________________________________________

and thank you very much

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @Horton spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...