Solved

Convert list

Posted on 2013-01-11
2
184 Views
Last Modified: 2013-01-12
Ive been trying to figure out a way to convert a list into some divs, the final idea is to make my own Menu plugin, mainly out of interest.

I did open a question which worked well Q_27988943 however after changing the code so I could work with it, it seems to have broken, and I cannot figure out why.

I have restarted a few times, and as soon as I try anything it breaks.

I've put my code in a simplified form as a jsfiddle http://jsfiddle.net/eptCx/

My main issue is, is when I run it through a debugger, it doesn't even try and do the first each statement at all, but does run the alert fine, but shows it still as a list.

Any ideas what Im doing wrong?

Thanks in advance
0
Comment
Question by:tonelm54
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
soupBoy earned 500 total points
ID: 38769434
Your issue is in your UL, typed this:
<ul style="testMenu">

But I bet you meant to type this
<ul class="testMenu">


Your JSFiddle runs correctly once you change it from style to class...

- Chris
0
 

Author Comment

by:tonelm54
ID: 38769557
OFFS!!!!!!!

I spend ages trying to figure this out :-(
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question