JiG is on Patreon and Needs You! Click here for more information


Favorite Games List


Comments (7) | Views (952)

Favorite Games ListFor anyone who has ever had trouble finding a link to that great little Flash game, this new feature is for you.

I just finished implementing a Favorite Games List where you can select the games you like and have them appear in the sidebar above all the others, every time you visit. Simply drag and drop the game icons onto the spaces provided, click Save Favorites to save your changes, and voila! Favorites saved for every time you visit.

Of course, cookies must be enabled for this feature to work. And don't worry about the cookies, the only information I save are the favorites you choose, and the current stylesheet information. If you have any questions at all, leave a comment, but I am hoping I made it simple and usable for most anyone to jump right in with. Click.

Many thanks to Walter Zorn's excellent open source drag-n-drop DHTML library. I was able to extend it to do 'zactly what I wanted to do. =)

7 Comments

ooh baby ooh baby ..

thats some sexy scripting right there jay.

..very spiffy :-)
(even though drag-n-drop doesn't seem to work right in my firefox; but clicking on it works just fine)

Reply

I'm sure there will be issues with it in some browsers, but the drag and drop engine is pretty solid. Ooops, I forgot to post a link to the source. I'll fix that now.

Reply

silly DHTML. =P it's still very cool. You just keep addin nifty stuff to the blog .. see what happens when your not so bogged down with coursework?

Reply

Why don't put an "add to favorites" link on each game page ?

Reply

That's an excellent idea, NiKo. Thanks for suggesting it.

Reply

Tested on Mac Safari, Drag n' Drop does not work. Alternative, i double-click the game icon box, to move it into favorites. It seems worked, so I clicked 'Save Favorites' and it leads back to main page. I don't see Favorites navigation category in the main page.

Just giving you my feedback about Mac users.

Good job, I really like that kind of drag 'n drop menu!

Reply

Thanks for the feedback, David, it is very much appreciated. I was not able to test it on a variety of browsers, so I did believe there would be some compatibility issues with it. Next week when I return to the labs at RIT, I will see what I can do for all the Mac users.

PC Firefox also seems to have an issue with the drag-n-drop, well not so much the dragging as the dropping. However, reloading the page makes everything right.

The other issue of not saving your favorites sounds like a cookie problem. I will look into if the Mac requires something different. IE was giving me the same trouble at first, but I was able to isolate the problem and fix it. Hopefully I will be as lucky with Safari.

Thanks again for the feedback, it really helps alot!

Reply

^ Scroll Up | Homepage >

Leave a comment [top of page]

Please consider creating a Casual Gameplay account if you're a regular visitor here, as it will allow us to create an even better experience for you. Sign-up here!
  • PLEASE UNDERSTAND SITE POLICIES BEFORE POSTING COMMENTS
  • You may use limited HTML tags for style:
    (a href, b, br/, strong, em, ul, ol, li, code, spoiler)
    HTML tags begin with a less-than sign: < and end with a greater-than sign: >. Always. No exceptions.
  • To post spoilers, please use spoiler tags: <spoiler> example </spoiler>
    If you need help understanding spoiler tags, read the spoiler help.
  • Please Preview your comment before posting, especially when using spoilers!
  • No link dropping, no domains as names; do not spam, and do not advertise! (rel="nofollow" in use)
1,713 Views
1 Comment
Face the Dilemma> Yoshi Choices, choices, and more choices. Meet Alex, a middle class/lower middle class guy who works as a janitor, and YOU get to help make HIS life choices. Seems easy, right? Until some of those life choices yield consequences that you...  ...
Monkey GO Happy Escape the Castle> Bindie The monkeys are back! In the latest instalment of PencilKids'' popular primate series, your little furry friends have gone walkabouts in the dungeon of a castle. This particular dungeon is infested with more goblins, ghouls and gargoyles than you can...  ...
Kentucky Route Zero: Act II> Rebecca Spoilers ahead! Kentucky Route Zero is an episodic point-and-click game in five acts. Before you dig deep into Act II, please do consider enjoying Act I first....  ...
2,329 Views
3 Comments
Frog Fable> Arceus You thought it would be a simple errand. Just run along and get some milk for the King of the Village's Friday pancakes, right? The trouble for protagonist Zbylut (pronunciation unknown) begins when guards block the entrance to the town....  ...
Rullo

Recent Comments

 

Display 5 more comments
Limit to the last 5 comments

Game of the week


Alicia Quatermain: Secrets Of The Lost Treasures Collector's Edition

Your Favorite Games edit

add
Save links to your favorite games here. Use the Favorites editor.

Monthly Archives