This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > garbled code





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author garbled code
cnoseworthy

2004-08-10, 11:16 pm

Can some explain what happened to my source code?
At first it appeared like the javascript was double spaced (as tho there was a
space between each letter, but it still worked) , then on a save it turned to
this.


   
    
 
   ? ???X`#???f#????k#??? l# 
"??8n#?p?  ???0V,+?E?w`???? 

Ever seen this?

~Flash~

2004-08-10, 11:16 pm

I made an HTML document in dreamweaver and saved it with the code you gave me and it worked fine... are you getting this problem when saving and what version of dreamweaver do you have?

Flash
cnoseworthy

2004-08-10, 11:16 pm

MX. The garbled stuff? I get the same thing when I open the file in IE. Can you send me back the text?
cnoseworthy

2004-08-10, 11:16 pm


This is what it was like (though i have changes it alot since this backup: It
happened whe it was working locally. I'll add the crazy stuff next.

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
//-->
</script>
<link href="styles/master.css" rel="stylesheet" type="text/css"></link>
<script language="JavaScript" type="text/javascript">
//<!--

function sendtoafriendform_submit(){
document.getElementById('emailaddress').value =
document.getElementById('tfemailaddress').value;
document.getElementById('pageurl').value = parent.location;
document.getElementById('sendpagetoafriendform').submit();
}
function signupfornewsletterform_submit(){
document.getElementById('emailaddress_newsletter').value =
document.getElementById('tfemailaddress_newsletter').value;
document.getElementById('sendpagetoafriendform').submit();
}

function validate_email(address, element) {
if(-1 == address.indexOf("@")) {
element.focus();
alert("Your email must have a '@'.");
return false;
}
if(-1 != address.indexOf(",")) {
element.focus();
alert("Your email must not have a ',' in it");
return false;
}
if(-1 != address.indexOf("#")) {
element.focus();
alert("Your email must not have an '#' in it." );
return false;
}
if(-1 != address.indexOf("!")) {
element.focus();
alert("Your email must not have a '!' in it." );
return false;
}
if(-1 != address.indexOf(" ")) {
element.focus();
alert("Your email must not have a space in it." );
return false;
}
if(address.length == (address.indexOf("@")+1) ) {
element.focus();
alert("Your email must have a domain name after the '@'.");
return false;
}
if(address.length == 0) {
element.focus();
alert("Please enter your email.");
return false;
}
return true;
}

//-->
</script>
</head>
<body>
<span style="top: 0; left: 0; height: 90px; width: 300px;"><img height="90"
src="images/logos/logo_c_trans.jpg" width="300" /></span>>
<span id="sendtoafriendlayer" style="position:absolute; left: 625px; top:
215px; width: 175px;">
<span style="height: 25; width: 175px; background-color: #B1C1D1;"
class="deep_blue">
<span style="left: 0; top: 0; width: 12px;"><img
src="images/left-tab-side.jpg" width="12" height="25" /></span>
<span style="left: 12; top: 0; width: 150px; padding-bottom: 5;
padding-top: 5; font-weight: bold; font-size: 10pt; text-align: justify;">Send
to a friend! </span>
</span>
<span style="width: 175px; border: solid; border-color: #B1C1D1;
border-width: 1; background-color: #CCCCCC; text-align: justify;">
<form action="sendtoafriend.jsp" method="post" id="sendtoafriendform">
<input name="emailaddress" type="hidden" value="" />
<input name="pageurl" type="hidden" value="" />
</form>
<input name="text" type="text" id="tfemailaddress" style="height: 25;"
onClick="document.getElementById('tfemailaddress').select();" value="Email
Address" size="15" />
<input name="button" type="button" id="button" style="height: 25;"
onClick="if(validate_email(document.getElementById('tfemailaddress').value,
document.getElementById('tfemailaddress'))) sentoafriendform_submit();"
value="Send"/>
</span>
</span>
<span id="signupfornewsletterlayer" style="position:absolute; left: 625px;
top: 281px; width: 175px;">
<span style="height: 25; width: 175px; background-color: #B1C1D1;"
class="deep_blue">
<span style="left: 0; top: 0; width: 12px;"><img
src="images/left-tab-side.jpg" width="12" height="25" /></span>
<span style="left: 12; top: 0; width: 150px; padding-bottom: 5;
padding-top: 5; font-weight: bold; font-size: 10pt; text-align: justify;">Get
our newsletter! </span>
</span>
<span style="width: 175px; border: solid; border-color: #B1C1D1;
border-width: 1; background-color: #CCCCCC; text-align: justify;">
<form action="signupfornewsletter.jsp" method="post"
id="signupfornewsletterform">
<input name="emailaddress_newsletter" type="hidden" value="" />
</form>
<input style="height: 25;" id="tfemailaddress_newsletter" type="text"
value="Email Address" size="15"
onClick="document.getElementById('tfemailaddress_newsletter').select();" />
<input style="height: 25;" id="btnsubmit" type="button" value="Send"
onClick="if(validate_email(document.getElementById('tfemailaddress_newsletter').
value, document.getElementById('tfemailaddress_newsletter')))
signupfornewsletterform_submit();"/>
</span>
</span>
<span id="polllayer" style="position: absolute; left: 625px; top: 347px;
width: 175px; ">
<span style="height: 25; width: 175px; background-color: #B1C1D1;"
class="deep_blue">
<span style="left: 0; top: 0; width: 12px;"><img
src="images/left-tab-side.jpg" width="12" height="25" /></span>
<span style="left: 12; top: 0; width: 150px; padding-bottom: 5; padding-top:
5; font-weight: bold; font-size: 10pt; text-align: justify;"> Current poll
</span>
</span>
<span style="width: 175px; padding: 5; border: solid; border-color: #B1C1D1;
border-width: 1; background-color: #CCCCCC; text-align: justify;">
<form action="vote.jsp" method="post" id="pollform">
<input name="pollchoice" type="hidden" value="">
</form>
<span style="font-size: 10pt; text-align: justify;" class="deep_blue">What
do you think of this particular situation?</span>
<br />
<input align="absmiddle" style="" id="choice" type="radio" value="Choice 1"
size="15" onClick="document.getElementById('pollchoice').value='Choice 1';" />
<span style="font-size: 10pt; text-align: justify;"
class="deep_blue">Bonafide!!</span>
<br />
<input align="absmiddle" style="" id="choice" type="radio" value="Choice 2"
size="15" onClick="document.getElementById('pollchoice').value='Choice 2';" />
<span style="font-size: 10pt; text-align: justify;" class="deep_blue">Maybe
for real.</span>
<br />
<input align="absmiddle" style="" id="choice" type="radio" value="Choice 3"
size="15" onClick="document.getElementById('pollchoice').value='Choice 3';" />
<span style="font-size: 10pt; text-align: justify;"
class="deep_blue">Bogus!</span>
<br />
<br />
<input align="right" style="" id="btnsubmit" type="submit" value="Vote Now!"
onClick=""/>
<br />
<span style="font-size: 8pt; text-align: right; width: 100%;"
class="deep_blue"><a href="#">Results?</a>&nbsp;&nbsp;&nbsp;<a
href="#">Suggest?</a></span>
</span>
</span>
</body>
</html>


cnoseworthy

2004-08-10, 11:16 pm

I got it while saving but it persist a shutdown and doesn't seem to have affect and other files.
cnoseworthy

2004-08-10, 11:17 pm

This is the messed up stuff i can attach the whole file to an email or zip it
and put it in server if it helps.



<xmective-php_xml/indexjsp.htm83 bytes.35 pm size: 7kb ??? @insert
tablen\table.htmia\dreamweaver
mx\configuration\?????????@'2'aster.csses\macromedia\dreamweaver
mx\configuration\otes\??? @edit sourcesave
setmenutextmandfiles.htm????????????????????????@manage
extensionsacromeia\dreamweaver mx\configuration\comma?????@quick tag
editorta... ullze: 0kb
?????????????????????????????*@c:/tomcat5/webapps/www.cornerbrooknow.com/yiznws
kation\enus?????@2kbxjsp.htebapps/www.cornerbrookow.com/configuration\????????
?@horizontal ruler.htmd('pollchoice').value='Choice
1';????????????@stylesat5/webapps/www.cornerbrooknow.com/ndexjsp.htm??????????
???@1KBsleft-tab-side.jpg??????????????????????????????????????????@onLoad()
ft-tab-side.jpg???????????????3`#?#:@-- Copyright 2002 Macromedia, Inc.
All rights reserved. --otes\@08/08/2004 9:41
PMe.jpgtfemailaddress_newsletter').select()@Folderents and settings\owner\my
documents\my webs\www.@<body.dark_yellow>@Fireworks HTMLFireworks HTML.htm
@CSHelp.htmFil\Macromeia\Dreamweaver MX\Configuration\Menus@Navigation
BarNavigation Bar.htmdress').select()175px;@Extension
Help\Macromeia\Dreamweaver MX\Configuration\Comman@ReadyeptCommand()xtensions
canAcceptCommand@Image Placeholderge Placeholder.htm81px; width:
175px; @Named Anchorn\Anchor.htm g@Rollover
ImageRollover.htmmailaddress_newsletter').select();@Extension
Help.htmcromeia\Dreamweaver MX\Configuration\Comma@-- MENU-LOCATION=NONE
--ia\Dreamweaver MX\Configuration\_notes\ @Selectionowsute; left: 625px; top:
347px; width: 175px; )@-- MENU-LOCATION=NONE --@manageExtensions()@Manage
Extensions.htmmeia\Dreamweaver
MX\Configuration\Comma @indexjsp.htmbapps/www.cornerbrooknow.com/??(
?????????????f??f??f??f3ffff3f999?3??3??3?3ff3f3333"""33

!!!"""###$$$%%%&&&'''((()))***+++,,,---...///000111222333444555666777888999:::;;
;<<<===>>>???@@@AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLLLMMMNNNOOOPPPQQQRRRSSSTTTUUUV
VVWWWXXXYYYZZZ[[[\\\]]]^^^___```aaabbbcccdddeeefffggghhhiiijjjkkklllmmmnnnoooppp
qqqrrrssstttuuuvvvwwwxxxyyyzzz{{{|||}}}~~~???????????????????????????????????
????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????
?????????????????????????????
   
    
 
   ? ???X`#???f#????k#??? l# 
"??8n#?p?  ???0V,+?E?w`???? 

 ??????? ?M)?A)2
 `???l#? `???l#?$????!?q?Pm#? ??$@color@
@
@
ay@{ @.dark_yellow@
@}lor@
@;@ @:CCCCC@#CC9900@
@
@{@
ale_yellow@color@
@.gold@
lor@
@}@;@10ptCC@ @
@: @font-size@;eep_blue@
@ 
@sans-serif@ lor@, @Helvetica@,@Arial6@ @
@: @font-family@styleyle="@


@classass="@18etluew@spann@widthdth="height: 90px; width: 300px;:
90px; w @dark_yellow@heightght="@ yles/master.css@;ylesheetm@
ld@{ylesmast@bodys/master.cssster.css@srcrc=" 0; height: 90px; width:
300px;@imgg,@top: 0; left: 0; height: 90px; width: 300px;@ p@300px@
@:@width@
ft?X?sX?s??$ *#??$h?$?$ 0*#??$??$h?$X?sX?$
:X?s??$??$ 8?$??$??$P?$ P?$?$??$}??$?$H?$
@?$X?s??$ ??$X?$(?$??$ ??$p?$@?$X?s??$8?$;X?s?
?$0?$ ??$??$??$ ?$ ?$??$??$:X?s??$??$X?sX?s
?$ X?$?$??$`?$ p?$0?$?$??$X?s??$,X?s??$??$
 ??$x?$H?$??$ ??$??$`?${X?s(?$?$X?sX?s?$ ?$
??$??$0?$ 0?$??$??$x?$X?sh?$,X?sp?$`?$ x?$8?$
?$p?$ ??$P?$
?$}??$??$?$X?sX?s??$ ??$@#h?$??$ ??$
9#??$X?sX?$??$:X?s?$??$ ??
x?????$?????7#L??????????$?$?7#???+# p??
p?$?$?$?7#?$d#003366 d??(#?$?$?7#????+# 1?? 
? ?????8?$8?$?7#D??.#d????$?(#?(#?7#????-# ?????
??$??$?7#D??,# ??
?$??$??$?7#?????$????,#  (?!? p????$?(#?(#?7#?(#d#FFFF
CC  8??8?$8?$8?$?7#8?$X?? ????$8?$8?$?7#????.#????.# 
p???+#??$??$?7#??$d#CCCCCC ???????)#?(#?7#???-# ?????$?)#
?(#?7#?)#??$  8???*#x?$x?$?7#x?$X??  ?>#??????$
?g???0px;? h?"@typepe="@contenttent="@Set Text of
Layeracromedia\dreamweaver
mx\configuration\hav@relel="vaScript @indexjsp.htm@goldbluew.cssster.css@
text/JavaScript@7@linkk@divv_yellow@text/javascriptet@styles/master.cs
s@</link>css@bodyytvascript@</link>aster.css@

mast @deep_bluew@
nt-family@gray_bluew@
@}@#003366@ @:@
lvetica@
@color@
ns-serif@{@
@
nt-size
@.deep_blue@
@}@#FFFFCC@ @:@
@
@{@
old@color@
 @.pale_yellow@
or@
@}@ @:C9900@#CCCCCC@
@color@
@
@
ark_yellow@{@.gray@
@}lor@
@ @#666633@

6633@:? T??<h?!:X?sX?s??" (?$h ???p?!X?!??!P?!LX
?!x?$ (??d??(?$??!??!P?!?????$ p??x?$??!??!P?!??!e?
s@  ??$? L???w??$?V&?w? )?w?T)?w?I)?w???(?w?

?(?w???(?w???$ L???????$?V&?U )0)T)?D)I)@I)??(
??(

?(@?(??((?(D?$????!??!? ???PU????hD)#H ?????H ?????
?!?!?8??$ ??!????$? p$@ @:x@5px@
@;dding-top @padding-left@ @:x@150px@ @;nt-weight@width@
@:ld@0@ @;nt-size@top@ @:pt@12@ @;xt-align@left@
@:stify@absolute@pos

~Flash~

2004-08-10, 11:17 pm

Send back what stuff?
You said it dosn't do it to any other pages... maybe you can just open it with
notpad and past it in and save...
I'm not sure what would cause dw to act this way, download the latest updates
for your version of dw...

Flash

Murray *TMM*

2004-08-10, 11:17 pm

Read my post....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"~Flash~" <webforumsuser@macromedia.com> wrote in message
news:cfb5o9$7bu$1@forums.macromedia.com...
> Send back what stuff?
> You said it dosn't do it to any other pages... maybe you can just open it

with
> notpad and past it in and save...
> I'm not sure what would cause dw to act this way, download the latest

updates
> for your version of dw...
>
> Flash
>



cnoseworthy

2004-08-10, 11:18 pm

I meant that if you could paste the garbled text in and get a readable document
out if it could you please post me that readable text? I have tried opening the
file with other programs with no success. Please do this for me if you can.
There has been a significant amount of wor done that i don't want to do over. I
would like to know what causes it. but most importantly I need the code if I
can get it somehow. I definitely was dw that cause the problem, however.
Thanks.

Murray *TMM*

2004-08-10, 11:18 pm

Oops - sorry. Wrong thread.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:cfb898$a6c$1@forums.macromedia.com...
> Read my post....
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
> "~Flash~" <webforumsuser@macromedia.com> wrote in message
> news:cfb5o9$7bu$1@forums.macromedia.com...
it[color=darkred]
> with
> updates
>
>



Murray *TMM*

2004-08-13, 7:17 pm

Oops - sorry. Wrong thread.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:cfb898$a6c$1@forums.macromedia.com...
> Read my post....
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
> "~Flash~" <webforumsuser@macromedia.com> wrote in message
> news:cfb5o9$7bu$1@forums.macromedia.com...
it[color=darkred]
> with
> updates
>
>



Murray *TMM*

2004-08-15, 11:15 pm

Read my post....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"~Flash~" <webforumsuser@macromedia.com> wrote in message
news:cfb5o9$7bu$1@forums.macromedia.com...
> Send back what stuff?
> You said it dosn't do it to any other pages... maybe you can just open it

with
> notpad and past it in and save...
> I'm not sure what would cause dw to act this way, download the latest

updates
> for your version of dw...
>
> Flash
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews