Great question. I do not control the website, but only the charity.HTML, that is why I am hosting it, to get full control. Is there anything I can do, in order to accomplish what I want? Can the main site be modified only one time with some code to give me full control of charity.html, so I can...
Sorry for confusion, it is NOT an include file, but rather being included as an iframe:
<iframe width="284" height="200" src="http://www.thedealnation.com/myunclevinny.com/charity.html" ...>
Sorry, here is the include page. It has the code that you suggested. It executes fine by itself, but not as a include.
http://www.thedealnation.com/myunclevinny.com/charity.html
Thank you so much for your help. I have a slight dilemma. Based on your suggestion I made modification and it works(you can try to change affiliate1, 2,..): http://www.thedealnation.com/myunclevinny.com/charity.html?affiliate1
I use this file, charity.html as an Include for the main website at...
Dan, can you please see why this does not work:
http://www.thedealnation.com/myunclevinny.com/charity3.html?affiliate1
View source.... what did I do wrong?
I have a website www.MyUncleVinny.com. We use affiliate codes for financial reporting. For example: www.MyUncleVinny.com?affiliate1
How can I write a simple JavaScript function that will look at the URL and determine if it contains "affiliate1" then do something, like display image1, if the URL...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.