Jump to content

VAR Help (Will Pay $)


jurass1c

Recommended Posts

Hello i am new to javascript and have a script i need some help with. I am prepared to compinsate for anyone who could help me out with this probelm im having. Please if someone could please contact me ASAP we could organise a payment method its not hard at all this is my problem:

[code]
var A2 = new Image();
var B2 = new Image();
var C2 = new Image();
var D2 = new Image();
var E2 = new Image();

A2.src = "photos/RM_1_2.png";
B2.src = "photos/RM_2_2.png";
C2.src = "photos/RM_3_2.png";
D2.src = "photos/RM_4_2.png";
E2.src = "photos/RM_5_2.png";

function set(picimage) {
eval("document['picture'].src = " + picimage + ".src");
}
[/code]

what i need to do is give the A2, B2, C2, D2 etc etc, links

A3 needs to have <a href="example/image_1.jpg" rel="example" Image Example</a>
B3 needs to have <a href="example/image_2.jpg" rel="example" Image Example</a>
C3 needs to have <a href="example/image_2.jpg" rel="example" Image Example</a>
D3 needs to have <a href="example/image_2.jpg" rel="example" Image Example</a>

It must be simle but imjsut having some trouble. Anyway can give some leadway on how to fix this problem i would be more then happy to paypal them some cash. if obsidian ws her ehe would help but hes not :(
Link to comment
https://forums.phpfreaks.com/topic/16029-var-help-will-pay/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.