Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Screen name:
john.klungers
john.klungers's Profile
1
Posts
3
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Ideas
Problems
Expanded view
List view
Private Message
.load a snippet the snippet is there but does not seem to be there for jQuery
[3Replies]
12-Oct-2011 05:48 AM
Forum:
Getting Started
$(document).ready(function(){
//first
$('#menubalk').load('menu.html');
/second
$('#menueen').removeClass('hidden');
});
the "first" line of code adds a menu to my page. This look fine the menu is there and the link are working.
the second line of code does not work. Why?
a part of my menu
<a id="hoofditem1" href="index2.html">Home</a>
<div id="menueen" class="hidden">
<a href="nl-uniek.html">Uniek</a>
<a href="nl-inovatief.html">Inovatief</a>
<a href="nl-disclaimer.html">Disclaimer</a>
</div>
<a id="hoofditem2" href="#">Zaadteelt</a>
The html page to be loaded into:
<!DOCTYPE html >
<html>
<head>
<title>Page tittle</title>
<meta charset="UTF-8">
<meta name="">
<meta name="keywords" content="">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="styles/vandijkesemo.css">
<script src="scripts/jquery-1.4.4.min.js"></script>
<script src="scripts/insertmenu.js"></script>
</head>
<body>
<div id="frame">
<div id="kop"></div>
<div id="menubalk">
<!-- menu to be inserted -->
</div>
<div id="inhoud">
<div id="inhoud_txt">
.
.
.
</div>
</div>
...
</div><!-- frame -->
</body>
«Prev
Next »
Moderate user : john.klungers
Forum