Click to See Complete Forum and Search --> : different refferers different HTML
Sigma2805
07-01-2003, 02:14 AM
Hey...i was wondering if it would be possible to make a code using javascript that would display a different set of links for different sites that users would come from to our site. is that possible and if it is can i get the code?
Sigma2805
07-01-2003, 03:46 PM
thanks for the response...basically the users will only be coming from two sites...so if they come from one site i want them to see one set of links but if they come from any other site then i want them to see another set of links. Can someone write up the code for me since i have never used javascript before?
Sigma2805
07-03-2003, 02:10 AM
thanks...it did work but i wasn't able to copy the link address but it did work because it succesfully showed me the adress that i came from to the page that had the javascript on it.
Vladdy
07-03-2003, 07:38 AM
visibility property does not remove the element from the page flow. If you use it, you will end up with an empty space in place of the one block or another.
Better solution would be to use display property and alternate its value between block and none. Another possibility is to make the two blocks to be the same size, give them solid background, position them one over another, and then modify the z-index property.