Author |
Message |
Registered: May 26, 2007 | Reputation: | Posts: 599 |
| Posted: | | | | I have no clue on writing HTML code, if some computer savvy friend out there has some free time, would it possible to write the code for the following websites for me?
http://www.moviereviewindex.com/
http://www.allmovie.com/
http://www.find-dvd.co.uk/
http://www.amazon.co.uk/
I know I'm asking a lot, but I have no clue on how to do it. |
|
Registered: March 14, 2007 | Posts: 3,830 |
| Posted: | | | | Quoting Antares: Quote: I have no clue on writing HTML code, if some computer savvy friend out there has some free time, would it possible to write the code for the following websites for me?
http://www.moviereviewindex.com/
http://www.allmovie.com/
http://www.find-dvd.co.uk/
http://www.amazon.co.uk/
I know I'm asking a lot, but I have no clue on how to do it. like this for in the forum? I don't know anthing about HTML. first you press quote the message then I use the Icon: on top of the reply window: you copy the http://www.amazon.co.uk mark the text: http://www.amazon.co.uk press that icon and insert the link in that window | | | Sources for one or more of the changes and/or additions were not submitted. Please include the sources for your changes in the contribution notes, especially for cast and crew additions. | | | Last edited: by ? |
|
Registered: May 26, 2007 | Reputation: | Posts: 599 |
| Posted: | | | | Quoting Giga Wizard: Quote: Quoting Antares:
Quote: I have no clue on writing HTML code, if some computer savvy friend out there has some free time, would it possible to write the code for the following websites for me?
http://www.moviereviewindex.com/
http://www.allmovie.com/
http://www.find-dvd.co.uk/
http://www.amazon.co.uk/
I know I'm asking a lot, but I have no clue on how to do it.
like this for in the forum? I don't know anthing about HTML. first you press quote the message then I use the Icon:
on top of the reply window: you copy the http://www.amazon.co.uk mark the text: http://www.amazon.co.uk press that icon and insert the link in that window No, it's for my layout. I want to add those links to my HTML window, but I have no idea on how to do it. | | | Last edited: by Antares |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,005 |
| |
Registered: May 26, 2007 | Reputation: | Posts: 599 |
| Posted: | | | | What I'm looking for is this.This is the coding for the Amazon tab in my HTML window: Quote: function amazon() { var UPC = DP_UPC; var matchErg = DP_Notes.match(/asin:\s*(.+)$/i); if (matchErg) { var amazonlink = "http://www.amazon.com/dp/" + matchErg[1]; } else { var amazonlink = "http://www.amazon.com/s?url=search-alias%3Ddvd&field-keywords=" + UPC; } window.location.href= amazonlink; } I want to do this for the links I've mentioned above so that I'll have tabs for each of them in my HTML window. I can't make heads or tails out of that code, and haven't the slightest idea how to write it. It is not for the forums | | | Last edited: by Antares |
|
Registered: March 15, 2007 | Reputation: | Posts: 5,459 |
| Posted: | | | | Where did that Amazon code come from? There's some info missing before I can work out how it works. |
|
Registered: March 15, 2007 | Reputation: | Posts: 5,459 |
| Posted: | | | | In the mean time, here's a simple piece of code that searches three of the sites you mention using the profile's title. Allmovie.com used a search system I couldn't work out, sorry. Quote: <HTML> <HEAD>
<SCRIPT TYPE="text/javascript"> <!-- <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False"> //--> var amazonlink = "http://www.amazon.co.uk/s/ref=nb_ss_w_h_/202-2310053-5063854?url=search-alias%3Daps&field-keywords=" amazonlink = "<a href='" + amazonlink + DP_Title + "' target='_blank'>Amazon.co.uk</a>" var finddvdlink = "http://www.find-dvd.co.uk/search.aspx?title=" finddvdlink = "<a href='" + finddvdlink + DP_Title + "' target='_blank'>Find-DVD.co.uk</a>" var moviereviewlink = "http://www.moviereviewindex.com/index.php?page=searchresults&search=" moviereviewlink = "<a href='" + moviereviewlink + DP_Title + "' target='_blank'>Movie Review Index</a>" </SCRIPT>
</HEAD> <BODY> <script> document.write(amazonlink + "<p>" + finddvdlink + "<p>" + moviereviewlink) </script>
</BODY> </HTML> Hope this was what you were after. | | | Last edited: by northbloke |
|
Registered: May 26, 2007 | Reputation: | Posts: 599 |
| Posted: | | | | Quoting northbloke: Quote: Where did that Amazon code come from? There's some info missing before I can work out how it works. <HTML> <HEAD> <SCRIPT TYPE="text/javascript"> <!-- <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False"> function amazon() { var UPC = DP_UPC; var matchErg = DP_Notes.match(/asin:\s*(.+)$/i); if (matchErg) { var amazonlink = "http://www.amazon.com/dp/" + matchErg[1]; } else { var amazonlink = "http://www.amazon.com/s?url=search-alias%3Ddvd&field-keywords=" + UPC; } window.location.href= amazonlink; } //--> </SCRIPT> </HEAD> <BODY onload="amazon();"> </BODY> </HTML> |
|