Originally posted by: xtknight
It's almost certainly server-side. You send the request to change the icon, it sets your cookie that way, it reads your cookie from then on, and displays the buttons to your preference accordingly.
Originally posted by: Cheetah8799
I think xtknight is saying the page possibly is generated server-side based on some cookies you have set (or not set for new users).
edit: I'm fairly certain that's what he's saying.
I'll also throw out the possibility that it is some sort of session variables that are being set (similar to cookies), and saved server-side for a period of time. Possibly only for this session for users who don't have a Yahoo account for example. The page loads, determines your preferences based on the session vars, then shows the proper icons. perhaps people with Yahoo accounts have a database record somewhere that has these icons saved. It's hard to say for sure since all the code is on the back end and we can't see it.
Originally posted by: notfred
you mean the dropdown boxes under the icons, right?
Originally posted by: xtknight
Originally posted by: notfred
you mean the dropdown boxes under the icons, right?
No he means how you can edit the icons to fit your needs with the small Edit link to the side.
Originally posted by: notfred
Originally posted by: xtknight
Originally posted by: notfred
you mean the dropdown boxes under the icons, right?
No he means how you can edit the icons to fit your needs with the small Edit link to the side.
What "edit" link? It doesn't say "edit" anywhere near the top of that page. 😕
Originally posted by: notfred
Originally posted by: xtknight
Originally posted by: notfred
you mean the dropdown boxes under the icons, right?
No he means how you can edit the icons to fit your needs with the small Edit link to the side.
What "edit" link? It doesn't say "edit" anywhere near the top of that page. 😕
Originally posted by: notfred
you mean the dropdown boxes under the icons, right?
somethign like this, in javascript:
arrowImage.onclick = showlist;
function showlist(){
appropriateList.style.display = box;
}
and then for each element in the list:
thisElement.onclick = setImage();
function setImage(){
imageCorrespondingToThisList.src = "newGraphic.gif";
// Set a cookie here to remember this graphic/choice.
// Setting cookies in javascript is something I don't remember theexact syntax for,
// so you get a comment explaining it instead.
}
I don't se why that's so hard.