<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Volusion 5 - Custom Javascript DOM Tip</title>
	<atom:link href="http://lexipixel.com/wordpress/ecommerce/volusion-5-custom-javascript-dom-tip-1/feed" rel="self" type="application/rss+xml" />
	<link>http://lexipixel.com/wordpress/ecommerce/volusion-5-custom-javascript-dom-tip-1</link>
	<description>Web Developer / Web Designer Info</description>
	<lastBuildDate>Fri, 03 Feb 2012 06:01:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Randy Harris</title>
		<link>http://lexipixel.com/wordpress/ecommerce/volusion-5-custom-javascript-dom-tip-1/comment-page-1#comment-801</link>
		<dc:creator>Randy Harris</dc:creator>
		<pubDate>Mon, 17 Oct 2011 12:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://lexipixel.com/wordpress/?p=171#comment-801</guid>
		<description>That&#039;s most likely a browser issue --- your browser is probably setup to view the PDF.

I can&#039;t help or even discuss browser issues -- there are too many different browsers, operating systems and versions... (I don&#039;t even want to know what browser you or your users are using)...

With that said --- to save a PDF, click &quot;&lt;strong&gt;Save a Copy&lt;/strong&gt;&quot; once it&#039;s in the browser, or, to prevent the browser from displaying a PDF (or any file), &lt;strong&gt;RIGHT CLICK&lt;/strong&gt; on the &lt;strong&gt;PDF link &lt;/strong&gt;and then select &quot;&lt;strong&gt;Save Link As...&lt;/strong&gt;&quot; (or similar function if your browser has one).</description>
		<content:encoded><![CDATA[<p>That&#8217;s most likely a browser issue &#8212; your browser is probably setup to view the PDF.</p>
<p>I can&#8217;t help or even discuss browser issues &#8212; there are too many different browsers, operating systems and versions&#8230; (I don&#8217;t even want to know what browser you or your users are using)&#8230;</p>
<p>With that said &#8212; to save a PDF, click &#8220;<strong>Save a Copy</strong>&#8221; once it&#8217;s in the browser, or, to prevent the browser from displaying a PDF (or any file), <strong>RIGHT CLICK</strong> on the <strong>PDF link </strong>and then select &#8220;<strong>Save Link As&#8230;</strong>&#8221; (or similar function if your browser has one).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Ross</title>
		<link>http://lexipixel.com/wordpress/ecommerce/volusion-5-custom-javascript-dom-tip-1/comment-page-1#comment-794</link>
		<dc:creator>Daniel Ross</dc:creator>
		<pubDate>Thu, 22 Sep 2011 21:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://lexipixel.com/wordpress/?p=171#comment-794</guid>
		<description>I also read somewhere that innerHTML does not work with firefox - is this true?  If so what other methods can be used that work on all browsers.
Thanks Again
Daniel</description>
		<content:encoded><![CDATA[<p>I also read somewhere that innerHTML does not work with firefox &#8211; is this true?  If so what other methods can be used that work on all browsers.<br />
Thanks Again<br />
Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Harris</title>
		<link>http://lexipixel.com/wordpress/ecommerce/volusion-5-custom-javascript-dom-tip-1/comment-page-1#comment-785</link>
		<dc:creator>Randy Harris</dc:creator>
		<pubDate>Wed, 10 Aug 2011 04:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://lexipixel.com/wordpress/?p=171#comment-785</guid>
		<description>Hi Daniel,

Since you need to deal with HTML, CSS, Javascript, DOM, jQuery and Volusion -- this isn&#039;t really beginner stuff --- but here&#039;s a bit of help that might get you closer.


1). I tried adding the code in between ” after .innerHTML, but nothing showed up. 

Most likely this is a syntax / encoding issue -- you need to know how to work with Javascript.  If the (red) &quot;something new and different&quot; appears, the script works and everything is in place to do the customization.

Also -- note that &#039;myid1&#039; refers to a DIV tag -- you need to make sure that the Javasciprt is properly coded AND that there is no broken or improperly nested OR conflicting HTML in that code.

2). You can include the javascript in the head section of the template for your store. You&#039;ll need to FTP the files in place, then use an absolute path to be sure they are always found, e.g.- if you upload to the &lt;strong&gt;/mystuff/&lt;/strong&gt; directory, the script tag and path would be something like ---

&lt;code&gt; &lt;strong&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://example.com/v/vspfiles/mystuff/jquery-1.2.3.js&quot; &gt;&lt;/script&gt;&lt;/strong&gt; &lt;/code&gt;

NOTE: there are some jQuery files already loaded in some Volusion installations --- use FireFox / Firebug to see what&#039;s already there...  On that note, you may also cause some conflicts uploading other jQuery files.

3). you can upload a CSS file to the same directory where your template&#039;s CSS files are located and then add the name of that file to the imports.css file and it will be included.


Randy.</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>Since you need to deal with HTML, CSS, Javascript, DOM, jQuery and Volusion &#8212; this isn&#8217;t really beginner stuff &#8212; but here&#8217;s a bit of help that might get you closer.</p>
<p>1). I tried adding the code in between ” after .innerHTML, but nothing showed up. </p>
<p>Most likely this is a syntax / encoding issue &#8212; you need to know how to work with Javascript.  If the (red) &#8220;something new and different&#8221; appears, the script works and everything is in place to do the customization.</p>
<p>Also &#8212; note that &#8216;myid1&#8242; refers to a DIV tag &#8212; you need to make sure that the Javasciprt is properly coded AND that there is no broken or improperly nested OR conflicting HTML in that code.</p>
<p>2). You can include the javascript in the head section of the template for your store. You&#8217;ll need to FTP the files in place, then use an absolute path to be sure they are always found, e.g.- if you upload to the <strong>/mystuff/</strong> directory, the script tag and path would be something like &#8212;</p>
<p><code> <strong>&lt;script type="text/javascript" src="http://example.com/v/vspfiles/mystuff/jquery-1.2.3.js" &gt;&lt;/script&gt;</strong> </code></p>
<p>NOTE: there are some jQuery files already loaded in some Volusion installations &#8212; use FireFox / Firebug to see what&#8217;s already there&#8230;  On that note, you may also cause some conflicts uploading other jQuery files.</p>
<p>3). you can upload a CSS file to the same directory where your template&#8217;s CSS files are located and then add the name of that file to the imports.css file and it will be included.</p>
<p>Randy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Ross</title>
		<link>http://lexipixel.com/wordpress/ecommerce/volusion-5-custom-javascript-dom-tip-1/comment-page-1#comment-784</link>
		<dc:creator>Daniel Ross</dc:creator>
		<pubDate>Wed, 10 Aug 2011 03:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://lexipixel.com/wordpress/?p=171#comment-784</guid>
		<description>I am very new at coding and have been learning by trial and error.  The Volusion platform is making it a bit more difficult, but this article is extremely helpful.  I want to add a jQuery Multi Level CSS Menu using this DOM method under one of my main catagories.  I was able to get the red text to show by changing the location from ProductDetails.asp to SearchResults.asp and following your steps.
How would I implement HTML instead of text in the code below.  I tried adding the code in between &#039;&#039; after .innerHTML, but nothing showed up. 
  
&lt;!-- START: JS for ProductDisplay.asp  --&gt;
     
     if(location.href.indexOf(&#039;ProductDetails.asp&#039;) != -1) {
      document.getElementById(&#039;myid1&#039;).innerHTML = &#039;&lt;b&gt;something new and different&lt;/b&gt;&#039;;
     }
     
     &lt;!-- END: JS for ProductDisplay.asp  --&gt;

Another issue that I am having is implementing the .css and .js. for the jQuery Multi Level CSS Menu.
  
Any help or recommendations is appreciated!

Regards
Daniel</description>
		<content:encoded><![CDATA[<p>I am very new at coding and have been learning by trial and error.  The Volusion platform is making it a bit more difficult, but this article is extremely helpful.  I want to add a jQuery Multi Level CSS Menu using this DOM method under one of my main catagories.  I was able to get the red text to show by changing the location from ProductDetails.asp to SearchResults.asp and following your steps.<br />
How would I implement HTML instead of text in the code below.  I tried adding the code in between &#8221; after .innerHTML, but nothing showed up. </p>
<p><!-- START: JS for ProductDisplay.asp  --></p>
<p>     if(location.href.indexOf(&#8216;ProductDetails.asp&#8217;) != -1) {<br />
      document.getElementById(&#8216;myid1&#8242;).innerHTML = &#8216;<b>something new and different</b>&#8216;;<br />
     }</p>
<p>     <!-- END: JS for ProductDisplay.asp  --></p>
<p>Another issue that I am having is implementing the .css and .js. for the jQuery Multi Level CSS Menu.</p>
<p>Any help or recommendations is appreciated!</p>
<p>Regards<br />
Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Harris</title>
		<link>http://lexipixel.com/wordpress/ecommerce/volusion-5-custom-javascript-dom-tip-1/comment-page-1#comment-780</link>
		<dc:creator>Randy Harris</dc:creator>
		<pubDate>Sun, 07 Aug 2011 23:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://lexipixel.com/wordpress/?p=171#comment-780</guid>
		<description>I can&#039;t believe you&#039;d want to send traffic away from and online store, but Im pretty sure it can be done.

You would just use the &quot;DOM hook&quot; method I&#039;ve described -- the hardest part is probably getting the syntax right so the Adsense code doesn&#039;t get mangled by the javascript that does the replacement.

Have you been able to replace anything using the DOM method?

I&#039;d try to get a single word or image to appear where you want, then work on replacing that with the Adsense ad code.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t believe you&#8217;d want to send traffic away from and online store, but Im pretty sure it can be done.</p>
<p>You would just use the &#8220;DOM hook&#8221; method I&#8217;ve described &#8212; the hardest part is probably getting the syntax right so the Adsense code doesn&#8217;t get mangled by the javascript that does the replacement.</p>
<p>Have you been able to replace anything using the DOM method?</p>
<p>I&#8217;d try to get a single word or image to appear where you want, then work on replacing that with the Adsense ad code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

