Link to home
Start Free TrialLog in
Avatar of Hendrik Wiese
Hendrik WieseFlag for South Africa

asked on

AJAX, Javascript or JQuery Slot Machine like menu

Hi Experts,

I am trying to re-design the following site using ajax, javascript or JQuery. I am looking for help with 2 aspects.

1. How can I create a menu using JQuery or AJAX that looks the same as the example site?
2. Can you point me in the right direction with regards to getting the content of each page load in a similar way as the example site?

Example Site: http://goo.gl/JWiqU

Looking forward to your response.
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

which browser is required for this site? Its not opening in IE8 and FF2
Avatar of Hendrik Wiese

ASKER

Firefox and IE works fine on my side. I have shortened the URL but you can access it directly at: www.wix.com/hennie79gmailcom/TWALA
I tried this url only
are you still not able to open it?
its showing me 'Loading' for last 5 minutes
It's very quick on my side. Please note that the current website is a flash site, so you would need to have flash player installed for your browser
Okay, i guess i don't have flash on my browser.
Can you post a pic which can explain the working of the menu?
Please see if you can open the following link, as the menu is very similar: http://osc4.template-help.com/wt_28854/menu.swf?button=1

Yes, i can see. Let me see what i can do
It looks like you're trying to mimic flash. This is what I would do, I'm sure there are lots of other ways to do it, too.

You don't need JQuery nor Ajax.

Create your menu as an un-ordered list and set the css for the list items to display: inline with a 1px or so margin. The list items should appear side-by-side as menu tabs.

Include all of your pages in different divs on a single html page but set display: none to hide all but the first page div.

Set the onclick or onmouseup event on each tab of your menu to hide all the page divs then unhide the page div associated with that menu tab. The same onclick or onmouseup function can change the background color of the menu tab.

I've tried to post the code in here several times, but it just disappears. Here's a link to my example.
Dear xmediaman,

I had a look at your example and it does not look like the example at all. Am I missing something?
I think I totally missed the point. I just noticed the "slot machine" reference in the title. I'm not sure you can replicate that type of animation in javascript unless the viewer has a really fast computer. I'm anxious to see what gurvinder372 comes up with.
Hi gurvinder372,

Did you manage to get anything on this?

Thanks in advance!!!
SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dear Leakim971,

Thank you for your comment, I have already been to that link (Query-quickie-Slot-machine-navigation) but not sure how I can change it to look like my example site http://goo.gl/JWiqU 

Any other suggestions would be greatly appreciated.

Thanks!!!
You can animate with the jRumble or vibrate plugins

http://plugins.jquery.com/plugin-tags/vibrate
@HendrikWiese: Sorry, i am not able to come up with anything on this.
I guess @leak's solution is the best you can go for
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Experts,

As mentioned I have already looked at the link posted by Leakim971 prior to submitting this question. Will any of you be able to modify the code on the link posted by Leak to give me the desired effect??

Please this would be much appreciated.

Thanks!!!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Did not receive a complete solution. So I used completely new buttons. But thanks for the response.