![]() |
|
| *AX SOFT>>>Programming & Design |
I need a script that can verify if a link is on a certain page. Please read all details before answering, Thx! |
Here is the deal: getElementsByTagName('a') will return an array of all anchor elements in the page. Compare the href attributes of those items to the requested url until you find a match or fail. I don't have a script for you, but I have an idea on how to do it. Basically, the <a href> needs to be named. Then, the <a href = <% userlink %>. The value needs to be linked to userlink, but the default of the userlink is what ever you set it to. If I had more time, I'd attempt the script for you, but I gotta goto work soon. I'm not sure if it will help you but try this. You're allowing users to edit the page directly - bad idea. |
| Tags |
| General - Computers & Internet Software Security Programming & Design Facebook Flickr Google MSN MySpace |
| Related information |
You're lucky girl coz i answer you : Use this .. ... Ok, I will assume that 'topic_id' is the criteria for determining if the row is repeated (i.e. topic_id is the same on two or more items). I am giving you a generic way of dealing wit... www.w3.org has an HTML validator and a CSS validator that are great for helping you to debug your code: HTML Validator (first step) ... we come to if (a++ <= --b && c != b) first b is pre-decremented now a=6 b=5 c=20 now the "if" expression is evaluated, which, translates to (6 <= 5 && 20 !=... Your English is very garbled, but I will try to answer as best I can. A foreign key does not have to be unique IN THE TABLE IN WHICH IT IS THE FOREIGN KEY. In fact, it is very commonly the case ... Comparing the '1', '0' and the space are comparing hex values: 0x31, 0x30, and 0x20 CLC '1', ' '; // compare 0x31, 0x20 CLC '0', ' ' ... First of all never put your budget in open, everybody will bid more than that . You can post your project at freelance websites like ... Some applications do not handle png formatted images. Try using the standard jpeg format and save as best quality possible. Ron ... |
Categories--Copyright/IP Policy--Contact Webmaster |