<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1034310" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1034310</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199293</link>
    <description> &lt;p&gt;Good show&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 May 2006 13:19:41 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1199293 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199266</link>
    <description> &lt;p&gt;I got it... Whoo...&lt;/p&gt;
&lt;p&gt;Thanks for all the help...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;if (anchor.getAttribute(&amp;#039;href&amp;#039;) &amp;amp;&amp;amp; (relAttribute.toLowerCase().match(&amp;#039;lightbox&amp;#039;))){&lt;br /&gt;				anchor.onclick = function () {myLightbox.start(this); trackclick(this.name); return false;}&lt;br /&gt;			}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;easy. just needed to know where to put it.&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 May 2006 10:26:29 +0000</pubDate>
 <dc:creator>davidjaymz</dc:creator>
 <guid isPermaLink="false">comment 1199266 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199264</link>
    <description> &lt;p&gt;Hey Cpt...&lt;/p&gt;
&lt;p&gt;I&#039;ve spent the morning trying to figure this out. I&#039;ve even been looking at php count scripts and not been getting anywhere.&lt;/p&gt;
&lt;p&gt;in the lightbox.js the &lt;code&gt;return false;&lt;/code&gt;&#039; stops the link going through to the new page. the lightbox effects kick in.&lt;/p&gt;
&lt;p&gt;I tried to replace return false with &lt;code&gt;return trackclick(this.name);&lt;/code&gt;&#039; but that broke both items.&lt;/p&gt;
&lt;p&gt;can an onclick event call two different things? &lt;/p&gt;
&lt;p&gt;I&#039;ve also been looking through the lightbox.js to see if there&#039;s somewhere i could slot in the click count js and I&#039;m proving i don&#039;t know enough js.&lt;/p&gt;
&lt;p&gt;Sorry to require hand holding on this but I&#039;m not getting anywhere myself&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 May 2006 09:26:36 +0000</pubDate>
 <dc:creator>davidjaymz</dc:creator>
 <guid isPermaLink="false">comment 1199264 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199233</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;if (anchor.getAttribute(&amp;#039;href&amp;#039;) &amp;amp;&amp;amp; (relAttribute.toLowerCase().match(&amp;#039;lightbox&amp;#039;))){&lt;br /&gt;	anchor.onclick = function () {myLightbox.start(this); return false;}&lt;br /&gt;	}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;(in lightbox.js)&lt;/p&gt;
&lt;p&gt;there it is, that&#039;s what&#039;s killing your trackclick.&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 May 2006 23:04:42 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1199233 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199227</link>
    <description> &lt;p&gt;My best guess is that LightBox is overriding the onclick funtion when it is detecting the rels and replacing stuff, I would normally check my &quot;view rendered source&quot; FF extension, but I can&#039;t seem to get it going. If this is the case, your best bet is to try having the lightbox execute the trackclick function, or when it is detecting the RELs add the trackclick function tot the onclick command.&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 May 2006 22:55:43 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1199227 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199216</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://galleries.photography-of-rock.com/index.php/selects/temp_image&quot; class=&quot;bb-url&quot;&gt;http://galleries.photography-of-rock.com/index.php/selects/temp_image&lt;/a&gt; and all the images on the page are the &quot;links&quot;.&lt;/p&gt;
&lt;p&gt;Thanks for looking Cpt.&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 May 2006 19:33:37 +0000</pubDate>
 <dc:creator>davidjaymz</dc:creator>
 <guid isPermaLink="false">comment 1199216 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199207</link>
    <description> &lt;p&gt;Can you link me to the exact page you&#039;re having a problem on? and the link name?&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 May 2006 17:26:45 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1199207 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199205</link>
    <description> &lt;p&gt;I have, and it doesn&#039;t. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 May 2006 16:50:59 +0000</pubDate>
 <dc:creator>davidjaymz</dc:creator>
 <guid isPermaLink="false">comment 1199205 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/two-js-one-problem#comment-1199204</link>
    <description> &lt;p&gt;Have you gone to tools &amp;gt; Javascript console in FireFox to see if it spits anything at you in terms of an error?&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 May 2006 16:43:47 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1199204 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
