<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1003147" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1003147</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-do-i-access-function-another-frame-set#comment-1013920</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;   I also am a bit confused.  You actually mention 2 functions (roll, roller). You write &quot;roll(x,y)&quot; but define it as &quot;roll(menu_item)&quot;  Roller, on the other hand, has 2 arguments.  Which are you trying to call?&lt;/p&gt;
&lt;p&gt;   At any rate.... you need to access the current menu_item so that it can be used to call the left frame&#039;s roll().&lt;/p&gt;
&lt;p&gt;   Going back to Suzanne&#039;s suggestion of *js files: you would need to change the code so that you can send the framename as a parameter.  eg: functionname(framename, menu_item, time)&lt;/p&gt;
&lt;p&gt;   And yes Suzanne, O&#039;Reilly&#039;s books and irt.org are excellent references&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://members.aol.com/grassblad&quot; class=&quot;bb-url&quot;&gt;GrassBlade: cut&amp;amp;paste javascript&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.javaplace.co.uk&quot; class=&quot;bb-url&quot;&gt;The Javascript Place Forums&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 29 May 2000 14:33:00 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1013920 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-do-i-access-function-another-frame-set#comment-1013919</link>
    <description> &lt;p&gt;I cant understand what you want your script to do? Your second post is entirely different to your first. Did you write the script yourself? Or did you get it from somewhere else? The only way I can get an idea is by looking at it. Can you post a URL?&lt;/p&gt;
 </description>
     <pubDate>Mon, 29 May 2000 04:19:00 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1013919 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-do-i-access-function-another-frame-set#comment-1013918</link>
    <description> &lt;p&gt;Thanks for the clarification!  And way funny on the &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/tongue.png&quot; title=&quot;Sticking out tongue&quot; alt=&quot;Sticking out tongue&quot; class=&quot;smiley-content&quot; /&gt; heh, heh...&lt;/p&gt;
&lt;p&gt;Suggestions (which may be not valid, I&#039;m okay  with being wildly wrong -- heh, heh):&lt;/p&gt;
&lt;p&gt; - swap the image instead of roll it?&lt;br /&gt;
 - reset the frame (if they click on the link in the navigation frame, have the image change (swap) entirely, if they click on a page in the right frame, have the left frame reset to whatever images.  hmmm, this is probably what you are trying to do)&lt;br /&gt;
 - reload the frame with a new document (lots of work for not much effect)&lt;br /&gt;
 - onClick in the &amp;lt;a&amp;gt; tag? (instead of href=&quot;javascript:&quot;?&lt;/p&gt;
&lt;p&gt;The O&#039;Reilly book is still recommended, though.  I also have the Pocket Reference, which kicks butt.  So is &lt;a href=&quot;http://www.irt.org&quot; class=&quot;bb-url&quot;&gt;www.irt.org&lt;/a&gt;  that has reems of info on frames and JavaScript and targeting and may have something to aid you to a good solution.&lt;/p&gt;
&lt;p&gt;Otherwise, I&#039;d let Lloyd take a peek at the whole shebang.&lt;/p&gt;
&lt;p&gt; &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Suzanne&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.zerocattle.com&quot; class=&quot;bb-url&quot;&gt;Zero Cattle&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/&quot; class=&quot;bb-url&quot;&gt;Suzanne&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/index/celtic.html&quot; class=&quot;bb-url&quot;&gt;Tables DeMystified&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 28 May 2000 01:43:00 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1013918 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-do-i-access-function-another-frame-set#comment-1013917</link>
    <description> &lt;p&gt;I dont know where that poking tongue smiley came from ????&lt;br /&gt;
I&#039;ll try again;&lt;br /&gt;
should read  javascript : parent.left.roll()&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
 </description>
     <pubDate>Sat, 27 May 2000 20:44:00 +0000</pubDate>
 <dc:creator>Celstk550</dc:creator>
 <guid isPermaLink="false">comment 1013917 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-do-i-access-function-another-frame-set#comment-1013916</link>
    <description> &lt;p&gt;Thanks guys but...&lt;br /&gt;
Let me tell you what I am trying to do...&lt;/p&gt;
&lt;p&gt;I have animated rolling menu items in my left frame say...parent.left.document.menu1 is one image.&lt;br /&gt;
When you mouseover it rolls as expected.&lt;br /&gt;
When you click on it hrefs to the right frame but stops rolling.&lt;/p&gt;
&lt;p&gt;I include the following function in parent.left&lt;/p&gt;
&lt;p&gt;var roll_timer=&quot;&quot;;&lt;br /&gt;
function roll(menu_item){&lt;br /&gt;
	img_active(menu_item);&lt;br /&gt;
	clearTimeout(roll_timer);&lt;br /&gt;
	roll_timer=setTimeout(&#039;roller()&#039;,1000);&lt;br /&gt;
}&lt;br /&gt;
    where: img_active etc are simple array exchange progs&lt;/p&gt;
&lt;p&gt;and wanted to add the following to the right:&lt;br /&gt;
onLoad=&quot;javascript &lt;img src=&quot;http://www.webmaster-forums.com/ubb/tongue.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;arent.left.roll()&quot;&lt;br /&gt;
so that the left menu indicates which page their on by the appropriate menu button constantly rolling every second.&lt;br /&gt;
Of course the same would go for other pages and menu2, menu3.&lt;/p&gt;
&lt;p&gt;So - Suzanne...If I use &quot;src&quot; tags I still have the same problem with referencing parent.left....etc&lt;br /&gt;
and wanted the active &quot;right&quot; page to do the asking so as to avoid errors.&lt;/p&gt;
&lt;p&gt;Lloyd...I&#039;ll give the HREF idea a go but I would somehow still like the right page to call the lefts&#039; function.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
 </description>
     <pubDate>Sat, 27 May 2000 20:41:00 +0000</pubDate>
 <dc:creator>Celstk550</dc:creator>
 <guid isPermaLink="false">comment 1013916 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-do-i-access-function-another-frame-set#comment-1013915</link>
    <description> &lt;p&gt;Celstk550: you are on the right track. You can access a function across frames without repeating the code.&lt;/p&gt;
&lt;p&gt;From the right frame:&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&quot;javascript:parent.right.roll()&quot;&amp;gt;LEFT SCRIPT&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;Try adding the &quot;javascript:&quot; bit to your URL. It may be the problem. If not then post a URL so I can take a look at your code.&lt;/p&gt;
 </description>
     <pubDate>Sat, 27 May 2000 09:20:00 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1013915 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-do-i-access-function-another-frame-set#comment-1013914</link>
    <description> &lt;p&gt;Yes, get the O&#039;Reilly book -- JavaScript, the Definitive Guide!  &lt;/p&gt;
&lt;p&gt;If you have the function IN another frame, which is what I think you are saying you have, you can either use an external .js file (so it can be called from any file that you have &amp;lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot; src=&quot;script.js&quot;&amp;gt;&amp;lt;/script&amp;gt; in the &amp;lt;head&amp;gt; tag), or you can repeat it in the file that needs it.&lt;/p&gt;
&lt;p&gt;JavaScript is client side, so it can&#039;t reference things that aren&#039;t there when it loads.&lt;/p&gt;
&lt;p&gt;I don&#039;t know if that answered your question or not.&lt;/p&gt;
&lt;p&gt; &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Suzanne&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.zerocattle.com&quot; class=&quot;bb-url&quot;&gt;Zero Cattle&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/&quot; class=&quot;bb-url&quot;&gt;Suzanne&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/index/celtic.html&quot; class=&quot;bb-url&quot;&gt;Tables DeMystified&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 May 2000 21:12:00 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1013914 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
