<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016332" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016332</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094704</link>
    <description> &lt;p&gt;Okay, I&#039;m a masochist tonight.&lt;/p&gt;
&lt;p&gt;You really really really need to get a book that goes over the fundamentals. I&#039;m sorry that I overestimated your javascript knowledge.  When you create a function, it looks like this:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--confirm dialog box--&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;amp;lt;script language=&amp;quot;JavaScript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;// for confirm message dialog and redirect&lt;br /&gt;&lt;br /&gt;var msg = &amp;quot;I am soo cute!&amp;quot;;&lt;br /&gt;&lt;br /&gt;function amber() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (confirm(msg))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; change(&amp;#039;foo&amp;#039;, &amp;#039;amber.jpg&amp;#039;);&lt;br /&gt;}&lt;br /&gt;//--&amp;gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;See where I had functionName? That is now changed to &lt;strong&gt;function&lt;/strong&gt; and the name &lt;strong&gt;amber()&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;You can use IE to detect JavaScript errors -- it will report the line and character and the problem, which will help you troubleshoot, but without a reference guide like The Definitive Guide, you will still be lost, likely.&lt;/p&gt;
&lt;p&gt;As for the rest, you have a number of errors in the message JavaScript -- take out the extra quotes, and check your syntax. I can&#039;t emphasize that enough. &lt;/p&gt;
&lt;p&gt;For the moving piece, you haven&#039;t defined the browser.  You define the browsers in another script, so you can use the same definitions -- at this point &quot;nn&quot; means nothing to the browser. n4, however, would, since you defined that earlier.&lt;/p&gt;
&lt;p&gt;Really, really, really, you need to go through it line by line, character by character and check your work.&lt;/p&gt;
&lt;p&gt;Suzanne&lt;/p&gt;
&lt;p&gt;P.S. By fixing the syntax errors and the missing browser definitions/variable names, I had it working off my hard drive. Note that you will have to change the variable name to &lt;strong&gt;br&lt;/strong&gt; from &lt;strong&gt;browser&lt;/strong&gt; as well. &lt;/p&gt;
&lt;p&gt;If you really get stuck, trying to fix this, post again and we&#039;ll break it down further. I really want you to be able to do this on your own, though, so that you come out of this with a sense of &quot;I CAN DO THIS!&quot;, not &quot;someone gave me the solution, I don&#039;t know what I&#039;m doing&quot;.&lt;/p&gt;
 </description>
     <pubDate>Sun, 25 Nov 2001 08:22:13 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1094704 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>A thought</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094703</link>
    <description> &lt;p&gt;The extra scripting from Yahoo could be conflicting with the JavaScript on your page.  Without going into the code myself (and doing your homework for you!), see if you can get it working properly on your harddrive and then upload it and see if there is a difference.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Sun, 25 Nov 2001 08:01:55 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1094703 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094702</link>
    <description> &lt;p&gt;I would recommend you don&#039;t use an onClick event, or if you do, put the confirmation dialog in a function in the HEAD tags, like I suggested, and call the function in the onClick.&lt;/p&gt;
&lt;p&gt;I think Vinny would be better able to answer this, as I&#039;m way rusty.&lt;/p&gt;
&lt;p&gt;Are you using someone else&#039;s script for the making text move part? Or is it your own?&lt;/p&gt;
&lt;p&gt;Have you tried going through the code character by character? Or recut &amp;amp; pasting if it&#039;s not your code?&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
&lt;p&gt;P.S. Did the other things work for you?&lt;/p&gt;
 </description>
     <pubDate>Sun, 25 Nov 2001 07:42:38 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1094702 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>still not working</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094687</link>
    <description> &lt;p&gt;I deleted the ; before document.all    but it is still not working.&lt;/p&gt;
&lt;p&gt;Also on the confirm box were abouts do I put the call?&lt;/p&gt;
&lt;p&gt;I did buy a book yesterday called &quot;Sams teach yourself Javascript in 24 hours&quot;. I stayed up till 2am last night reading it.  I was able to make dialog boxes appear onload of page but not sure how to make it appear after a onclick event.&lt;/p&gt;
&lt;p&gt;No where on the internet have I been able to find out about making the text move without using a marque.&lt;/p&gt;
 </description>
     <pubDate>Sun, 25 Nov 2001 01:48:31 +0000</pubDate>
 <dc:creator>trish</dc:creator>
 <guid isPermaLink="false">comment 1094687 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>No guarantees, but maybe some help</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094661</link>
    <description> &lt;p&gt;Okay, one thing at a time:&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: Problem 1- after the user clicks the link under the girls photo, the photo will change then I need a confirmation dialog box asking the user to indicate their approval of the new photo.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; you need to use the confirmation script (in the  tags:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;amp;lt;script language=&amp;quot;JavaScript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;// for confirm message dialog and redirect&lt;br /&gt;&lt;br /&gt;var msg = &amp;quot;your message&amp;quot;;&lt;br /&gt;&lt;br /&gt;functionName {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (confirm(msg))&lt;br /&gt;	change(&amp;#039;foo&amp;#039;, &amp;#039;amber.jpg&amp;#039;);&lt;br /&gt;}&lt;br /&gt;//--&amp;gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;functionName();&quot;&gt;Click Here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I would recommend that you pick up something like JavaScript the Definitive Guide (O&#039;Reilly) or anything by Dori Smith at &lt;a href=&quot;http://www.peachpit.com/about/author.bios/dori.smith.html&quot; class=&quot;bb-url&quot;&gt;http://www.peachpit.com/about/author.bios/dori.smith.html&lt;/a&gt; -- that way you can look up the information on an as needed basis.&lt;/p&gt;
&lt;p&gt;You can also add an &lt;strong&gt;else&lt;/strong&gt; to the function, so if no confirm, something entirely different happens.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: The background is now working on the css file.&lt;br /&gt;
How do i include a style for the tags that display the Welcome Netscape and Explorer user for the browser detection? &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; Use document.write to write the tags in as well, not just the message. However, you will want to move that JavaScript to within the body tag in order for it to work properly and for the code to be valid. &lt;/p&gt;
&lt;p&gt;document.write(&#039;Welcome Internet Explorer 4 or higher User.&#039;)&lt;/p&gt;
&lt;p&gt;&lt;em&gt;** note the different use of quote -- to keep yourself sane, I recommend that you use only single quotes for JavaScript and double quotes for HTML.  While you can mix and match, it&#039;s easier to keep them separate for troubleshooing purposes **&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And in the CSS, have:&lt;/p&gt;
&lt;p&gt;.welcome {&lt;br /&gt;
font-family: whatever, generic;&lt;br /&gt;
font-size: xxpt;&lt;br /&gt;
}&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: Problem 2-The text at the top &quot;I love crafts&quot; is suppose to be animated.starting at coordinates 150,10 then move in increments of 50 and stopping at position 500,10.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; get better at checking your syntax:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;;&lt;/strong&gt;document.all. &amp;lt;-- this line starts with a semi-colon, it shouldn&#039;t be there&lt;/p&gt;
&lt;p&gt;If you used this script from Dynamic Drive, make sure you leave the copyrights in place. (I didn&#039;t look, just noticed the credit at the bottom). Otherwise, try going step by step through the code looking for errant keystrokes (the &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt; or syntax errors. &lt;/p&gt;
&lt;p&gt;Good luck,&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
&lt;p&gt;P.S. I&#039;ve edited this a zillion times to fix my own typos and syntax errors, so it happens to everyone!&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 Nov 2001 07:54:02 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1094661 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>A web site mess!!</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094641</link>
    <description> &lt;p&gt;Suzanne,&lt;br /&gt;
   I have been trying to get this straightened out for over 2 weeks and the teacher refuses to help and the text book is as bad as the teacher.&lt;/p&gt;
&lt;p&gt;Problem 1- after the user clicks the link under the girls photo, the photo will change then I need a confirmation dialog box asking the user to indicate their approval of the new photo.&lt;/p&gt;
&lt;p&gt;Problem 2-The text at the top &quot;I love crafts&quot; is suppose to be animated.starting at coordinates 150,10 then move in increments of 50 and stopping at position 500,10.&lt;/p&gt;
&lt;p&gt;The background is now working on the css file.&lt;br /&gt;
 How do i include a style for the tags that display the Welcome Netscape and Explorer user for the browser detection? &lt;/p&gt;
&lt;p&gt;I REALLY APPRECIATE ALL THE HELP!! and so do my girls cause i have been a bear lately triing to get these to work.&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 Nov 2001 01:16:27 +0000</pubDate>
 <dc:creator>trish</dc:creator>
 <guid isPermaLink="false">comment 1094641 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Some JavaScript answers</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094640</link>
    <description> &lt;p&gt;You don&#039;t have anything in that link telling it to open a window.&lt;/p&gt;
&lt;p&gt;You can use the same script that you use for the fullerton popup.  There are better scripts, but let&#039;s leave that aside for the moment.&lt;/p&gt;
&lt;p&gt;&lt;A href=&quot;//www.fullcoll.edu&amp;#039;,&amp;#039;fc&amp;#039;,&amp;#039;width=200,height=200&amp;#039;))&quot;&gt;&lt;IMG name=&quot;foo&quot; src=&quot;brianna.jpg&quot; border=&quot;5&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;A href=&quot;//www.fullcoll.edu&amp;#039;,&amp;#039;fc&amp;#039;,&amp;#039;width=200,height=200&amp;#039;))&quot;&gt;Click Here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You would, of course, change the url and the window size as needed. As an aside, it&#039;s not very nice to open offsite links in windows without any menus, et cetera, and not even resizable. Why not just use &lt;strong&gt;target=&quot;_blank&quot;&lt;/strong&gt; in the hyperlink? It&#039;s far kinder to users. &lt;/p&gt;
&lt;p&gt;Also, the background is showing up now.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 Nov 2001 01:01:30 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1094640 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>CSS answer</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094639</link>
    <description> &lt;p&gt;1. no quotes around the url for the bg image&lt;br /&gt;
2. make sure the image is there on the server&lt;br /&gt;
3. validate that CSS, it&#039;s a mess! below is a fixed up version, syntactically, anyway&lt;/p&gt;
&lt;p&gt;H2 {&lt;br /&gt;
font-family:Ariel,Helvetica, sans-serif;&lt;br /&gt;
font-size:14pt;&lt;br /&gt;
font-weight:bold;}&lt;/p&gt;
&lt;p&gt;Div {&lt;br /&gt;
font-family:Ariel, Helvetica, sans-serif;}&lt;/p&gt;
&lt;p&gt;BODY {&lt;br /&gt;
background-image:url(/images/cntrylaneheartstileback.gif);&lt;br /&gt;
font-family:Ariel,Helvetica, sans-serif;&lt;br /&gt;
color:black;&lt;br /&gt;
font-size:11pt;}&lt;/p&gt;
&lt;p&gt;a:link {&lt;br /&gt;
color: #885522;}&lt;/p&gt;
&lt;p&gt;a:visited {&lt;br /&gt;
color:brown;}&lt;/p&gt;
&lt;p&gt;a:hover {&lt;br /&gt;
color:black;}&lt;/p&gt;
&lt;p&gt;a:active {&lt;br /&gt;
color:blue;}&lt;/p&gt;
&lt;p&gt;hth,&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 Nov 2001 00:50:32 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1094639 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thank, But I&#039;m don&#039;t understand</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094637</link>
    <description> &lt;p&gt;THank You for your quick reply. Javascript is very new to me. I have know idea what to do with the errors you found.  I did go to javascript: but what do they mean? How do I define moveit?&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 Nov 2001 23:56:43 +0000</pubDate>
 <dc:creator>trish</dc:creator>
 <guid isPermaLink="false">comment 1094637 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/i-need-lots-help-1dialog-box-not-working-2css-background-not-working#comment-1094630</link>
    <description> &lt;p&gt;you have a javascript error, if you use version4 netscape you can just type in javascript:  (&quot;:&quot; is important), this is what it displays:&lt;/p&gt;
&lt;p&gt;JavaScript Error: &lt;a href=&quot;http://www.geocities.com/trishbehlings/,&quot; class=&quot;bb-url&quot;&gt;http://www.geocities.com/trishbehlings/,&lt;/a&gt; line 61:&lt;/p&gt;
&lt;p&gt;missing ; before statement. &lt;/p&gt;
&lt;p&gt;document.all.ilovecrafts.style.pixelLeft=document.all.ilove crafts.style.pixelLeft+dx;&lt;br /&gt;
............................................................................^&lt;/p&gt;
&lt;p&gt;JavaScript Error: &lt;a href=&quot;http://www.geocities.com/trishbehlings/,&quot; class=&quot;bb-url&quot;&gt;http://www.geocities.com/trishbehlings/,&lt;/a&gt; line&lt;br /&gt;
111:&lt;/p&gt;
&lt;p&gt;missing ( before formal parameters. &lt;/p&gt;
&lt;p&gt;{&lt;br /&gt;
^&lt;/p&gt;
&lt;p&gt;JavaScript Error: &lt;a href=&quot;http://www.geocities.com/trishbehlings/,&quot; class=&quot;bb-url&quot;&gt;http://www.geocities.com/trishbehlings/,&lt;/a&gt; line 79:&lt;/p&gt;
&lt;p&gt;moveIt is not defined.&lt;/p&gt;
&lt;p&gt;the javascript error could be affecting the picture change as well,&lt;/p&gt;
&lt;p&gt;The stylesheet, the link you have to the image is different in the stylesheet than it is on the pages body tag, check the directory the image is in, also you dont need name= in the link tag.&lt;br /&gt;
the font tag in the stylesheet under the body tag? is this meant to be apart of the body section? if so remove the extra }{&#039;s after the background image and before the font bit.&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 Nov 2001 21:42:23 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1094630 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
