Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having problems with my objects

Status
Not open for further replies.

Kruzer

Programmer
Jun 16, 2000
117
US
Does anyone see what the problem is?<br><br>this is the area where I'm receiving the error<br>--&gt;document.companyForm.bevel.value = top.topbar.bevel;<br><br>here is the code<br>-------------------------------------------------------<br>&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;<br>// path for sending variables to the preview.cgi<br>var banpath = &quot;<A HREF=" TARGET="_new"> **one path in the after the body needs to be changed for the local properties path<br><br>function returnBack() {<br>&nbsp;&nbsp;&nbsp;document.companyForm.submit();<br>}<br>function loadValue() {<br>&nbsp;&nbsp;&nbsp;<b>document.companyForm.bevel.value = top.topbar.bevel;</b><br>&nbsp;&nbsp;&nbsp;document.companyForm.emboss.value = top.topbar.emboss;<br>&nbsp;&nbsp;&nbsp;document.companyForm.drop.value = top.topbar.drop;<br>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;document.companyForm.bevelcheck.value = top.topbar.bevelcheck;<br>&nbsp;&nbsp;&nbsp;document.companyForm.embosscheck.value = top.topbar.embosscheck;<br>&nbsp;&nbsp;&nbsp;document.companyForm.dropcheck.value = top.topbar.dropcheck;<br>}<br>function setValue() {<br>&nbsp;&nbsp;&nbsp;document.companyForm.submit();<br>&nbsp;&nbsp;&nbsp;var bgimageval = top.topbar.bgimage; <br>&nbsp;&nbsp;&nbsp;var bgcolorval = document.companyForm.backcolor.value;<br>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;if (document.companyForm.bevelcheck.checked) { <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var bevelval = document.companyForm.bevel.value;<br>&nbsp;&nbsp;&nbsp;} else {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var bevelval = &quot;&quot;;<br>&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;if (document.companyForm.embosscheck.checked) { <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var embossval = document.companyForm.emboss.value;<br>&nbsp;&nbsp;&nbsp;} else {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var embossval = &quot;&quot;;<br>&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;if (document.companyForm.dropcheck.checked) { <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var dropval = document.companyForm.bevel.value;<br>&nbsp;&nbsp;&nbsp;} else {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var dropval = &quot;&quot;;<br>&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;top.topbar.bevel = document.companyForm.bevel.value;<br>&nbsp;&nbsp;&nbsp;top.topbar.emboss = document.companyForm.emboss.value;<br>&nbsp;&nbsp;&nbsp;top.topbar.drop = document.companyForm.drop.value;<br>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;var companycolorval = document.companyForm.companycolor.value;<br>&nbsp;&nbsp;&nbsp;var companysizeval = document.companyForm.companysize.value;<br>&nbsp;&nbsp;&nbsp;var companyfontval = document.companyForm.companyfont.value;<br>&nbsp;&nbsp;&nbsp;var companystyleval = document.companyForm.companystyle.value;<br>&nbsp;&nbsp;&nbsp;var sloganval = top.topbar.slogan;<br>&nbsp;&nbsp;&nbsp;var textcolorval = document.companyForm.textcolor.value;<br>&nbsp;&nbsp;&nbsp;var textsizeval = document.companyForm.textsize.value;<br>&nbsp;&nbsp;&nbsp;var textfontval = document.companyForm.textfont.value;<br>&nbsp;&nbsp;&nbsp;var textstyleval = document.companyForm.textstyle.value;<br>&nbsp;&nbsp;&nbsp;var phoneval = top.topbar.phone;<br>&nbsp;&nbsp;&nbsp;var phonecolorval = document.companyForm.phonecolor.value;<br>&nbsp;&nbsp;&nbsp;var phonesizeval = document.companyForm.phonesize.value;<br>&nbsp;&nbsp;&nbsp;var phonefontval = document.companyForm.phonefont.value;<br>&nbsp;&nbsp;&nbsp;var phonestyleval = document.companyForm.phonestyle.value;<br>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;top.preview.tileadimg.src = &quot;<A HREF=" TARGET="_new"> LANGUAGE=JAVASCRIPT&gt;<br><br>&lt;!--<br><br>function&nbsp;&nbsp;_CF_checkgetquestion(_CF_this)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;{<br><br>&nbsp;&nbsp;&nbsp;&nbsp;return true;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;}<br><br><br>//--&gt;<br><br>&lt;/script&gt;<br><br>&lt;/HEAD&gt;<br>&lt;BODY onload=&quot;loadValue();&quot; BGCOLOR=&quot;#FFFFFF&quot;&gt;<br>&lt;FONT SIZE=&quot;-1&quot;&gt;<br>&lt;FORM name=&quot;companyForm&quot; method=post action=&quot;<A HREF=" TARGET="_new"> <br>&lt;input type=&quot;hidden&quot; name=&quot;cprod_id&quot; value=&quot;$cprod_id&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;backcolor&quot; value=&quot;$bgcolor&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;bgimage&quot; value=&quot;$bgimage&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;slogan&quot; &gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;textcolor&quot; value=&quot;$text_color&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;textsize&quot; value=&quot;$text_size&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;textfont&quot; value=&quot;$text_font&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;textstyle&quot; value=&quot;$text_style&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;phone&quot; value=&quot;$phone&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;phonesize&quot; value=&quot;$phone_size&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;phonecolor&quot; value=&quot;$phone_color&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;phonefont&quot; value=&quot;$phone_font&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;phonestyle&quot; value=&quot;$phone_style&quot;&gt;<br>&lt;input type=&quot;hidden&quot; name=&quot;companycheck&quot; value=&quot;$companycheck&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;slogancheck&quot; value=&quot;$slogancheck&quot;&gt; <br>&lt;input type=&quot;hidden&quot; name=&quot;phonecheck&quot; value=&quot;$phonecheck&quot;&gt;<br>&lt;input type=&quot;hidden&quot; name=&quot;bevelcheck&quot; value=&quot;$bevelcheck&quot;&gt;<br>&lt;input type=&quot;hidden&quot; name=&quot;embosscheck&quot; value=&quot;$embosscheck&quot;&gt;<br>&lt;input type=&quot;hidden&quot; name=&quot;dropcheck&quot; value=&quot;$dropcheck&quot;&gt; <br>&lt;CENTER&gt;<br>&lt;TABLE CELLPADDING=&quot;3&quot; CELLSPACING=&quot;0&quot;&gt;<br>&lt;TR&gt;<br>&lt;/tr&gt;<br>&lt;TR&gt;&lt;TD COLSPAN=&quot;2&quot; ALIGN=&quot;CENTER&quot;&gt;&lt;INPUT onclick=&quot;returnBack();&quot; BORDER=&quot;0&quot; TYPE=IMAGE SRC=&quot;<A HREF=" TARGET="_new"> COLSPAN=&quot;2&quot; ALIGN=&quot;CENTER&quot;&gt;&lt;INPUT onclick=&quot;setValue(); return false;&quot; BORDER=&quot;0&quot; name=&quot;companyapply&quot; TYPE=IMAGE SRC=&quot;<A HREF=" TARGET="_new"> SIZE='-1'&gt;Show bevel:&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;INPUT NAME=&quot;bevelcheck&quot; TYPE=checkbox $bevelcheck value=&quot;checked&quot;&gt;&lt;/TD&gt;<br>&lt;tr&gt;&lt;TD&gt;&lt;FONT SIZE='-1'&gt;Show emboss:&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;INPUT NAME=&quot;embosscheck&quot; TYPE=checkbox $embosscheck value=&quot;checked&quot;&gt;&lt;/TD&gt;<br>&lt;tr&gt;&lt;TD&gt;&lt;FONT SIZE='-1'&gt;Show drop:&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;INPUT NAME=&quot;dropcheck&quot; TYPE=checkbox $dropcheck value=&quot;checked&quot;&gt;&lt;/TD&gt;<br>&nbsp;<br>&lt;/TABLE&gt;<br>&lt;/CENTER&gt;<br>&lt;/FORM&gt;<br>&lt;/FONT&gt;<br>&lt;/BODY&gt;<br>&lt;/HTML&gt; <p>Dano<br><a href=mailto:dskryzer@hotmail.com>dskryzer@hotmail.com</a><br><a href= > </a><br>What's your major malfunction
 
What error are you receiving?<br><br><br><A HREF="mailto:jared@aauser.com">jared@aauser.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top