|Page 1 of 1||[ 3 posts ]|
I recently got slapped with what I thought was a clerical task to upgrade our website from using YUI 2.3.0 (I know, the dust was thick) to YUI 2.9.0.
So I swapped out the directories, ran up our reference browser, tweeked the main functional difference I noticed, and checked it in. I didn't make changes to how we instantiated or initialized the YUI components. The reference browser, in this case IE 8.
The major functional difference I noticed off the top was in the function of tabview; we had some pages where each tab content div was initialized to style="display:none" and some where there was no explicit styling to begin with. Using all of our old script setup, the divs that had display:none to start with didn't display at all, no matter which tab was selected using the YUI 2.9.0 code.
Simple, I thought; I removed the explicit display:nones and in IE 8 anyway, all the tabs appeared to be working fine.
People have now started kicking the tires more, though, and a lot more warts are becoming apparent - like in Chrome, our implementation of tabview using 2.9.0 is showing all tab contents all the time in one long run-on. Why this appears to work fine in IE 8 but so radically broken in Chrome I haven't debugged.
I looked at the example for tabview in the 2.9.0 documentation, and what it has that our old code is missing appears to be the use of the YAHOO.util.History.navigate() method. We don't have any use in our old 2.3.0 code of the History class.
The other visible change that's been commented upon is in the popout class; apparently a spot's been added for a popout title bar where there wasn't one before. There's also a little css rendering quirk apparently in IE 8, where the first url in the popout is rendered with the hover-over style/color from the get go.
Problem is that I don't see anything in the examples page for the popout class; was it deprecated after 2.3.0?
Anyway, sorry to sound like such a noob but I just got dropped in the pool here. If anyone could give me some pointers as to what other YUI classes I might have to watch out for switching from 2.3.0 to 2.9.0, I'd appreciate it...
I am not sure you will find many people who might still remember what changed so far ago. I do remember that 2.6.0 was where all the big changes were made, I don't recall there being so many changes in any of the previous releases. Many of the User Guides got 'update notes' in them and many components came out of beta with that release. Not many changes after that. Lots of improvements and bug fixes, but the interfaces remained stable from then on.
This means that you'll have to go to the release notes for each of the components you have trouble with and read mostly up to 2.6, specially 2.6, but there is not much need to read later stuff.
Thanks for the advice, Satyam!
|Page 1 of 1||[ 3 posts ]|
|You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum