- Screen name: jessRaa
- About Me: trying to master jquery
- Website:
jessRaa's Profile
5 Posts
14 Responses
0
Followers
Show:
- Expanded view
- List view
Private Message
- 18-Jan-2013 01:09 AM
- Forum: Using jQuery
ive been going at this for hours now and still cant figure out why it doesnt work here on my local html filesee here in my jsbin it works fine:http://jsbin.com/uhejis/1/edit
but i tried it on my local html page on three computers, xp, vista, and 7 and nothing whats wrong with it?? does this code work on your local computer??- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<!-- This is all the Meta Imports and customs -->
<head>
<meta property="og:title" content="Albuquerque Auto Repair" />
<meta property="og:type" content="company" />
<meta property="og:url" content="http://www.albuquerqueautomotiveservices.com/" />
<meta property="og:image" content="http://imageshack.us/photo/my-images/694/logovcm.jpg/" />
<meta property="og:site_name" content="Federated Automotive" />
<meta property="fb:admins" content="100005049606455" />- </head>
<body> - <div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<p>hello world</p>
<div class="fb-like" data-href="http://www.facebook.com/FederateAutomotive" data-send="true" data-layout="button_count" data-width="450" data-show-faces="false"></div>
</body>
</html>
- 08-Jan-2013 08:36 PM
- Forum: Using jQuery
i have this website im building you can get the home.html and files here (small 2mb)
https://docs.google.com/folder/d/0B-C0T_-acxRqZ0ZHTzgwaXkwMlk/edit
(public file)
you see the logo well i want it to be to the left and i want the menu to the right of it in short words i want both the logo and the menu to be on the top fixed, all the time,, now no matter what i do the logo stays on top and the jquery menu below or the other way around,
im going crazy over this one, i have little expierence
can some one help me please
thank you- 01-Jan-2013 12:54 AM
- Forum: Using jQuery
the buttons in the homepage are pushing the other buttons, any one has an idea on how to make the buttons slide over the other ones and not push them
see my website file at my google drive
https://docs.google.com/folder/d/0B-C0T_-acxRqeDBEOWpSdWZYYUU/edit- 19-Dec-2012 03:34 AM
- Forum: Using jQuery
so i been going at it for hours
can you tell me where im messing up, im starting to think that the way im doing it its not supported by jquery no more this tutorials are from a year ago
index.php- <!doctype html>
<html lang="eng">
<head>
<meta charset="utf-8">
<title>wassup</title>
<link rel="stylesheet" type="text/css" href="cs/style.css">
</head>
<body>
<p><input id="searchme" type="text" /></p>
<ul id="caca">
<li>hey you</li>
<li>fyck no</li>
<li>poikl mn</li>
<li>heiisds sdfafd</li>
</ul>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/heynow.js"></script>
</body>
</html>
heynow.js- $(document).ready(function() {
$('#searchme').keyup(function() {
searchme = $(this).val();
$('#caca li').removeClass('highlight');
if (jQuery.trim(searchme) != '') {
$("#caca li:contains('" + searchme + "')").addClass('highlight');
}
});
});
and the jquery.js is the production download source code for developers
does it work for you, its supposed to be like a CTRL+F
heres the video:
https://www.youtube.com/watch?v=XuiN5mUeduw&list=EC6B08BAA57B5C7810&index=23
thank you- i was watching some tutorials from thenewboston on jquery and everything works on my notepadd++ and xampp server, the only thing is that this code right here doesnt work
it is this video (3mins) that i cant do, it doesnt highlight the text like it shoud. im tired of rechecking for the last two hours,,i thought maybe the syntax is bad and someone here can help me
https://www.youtube.com/watch?v=jIZFHjkUCrs&list=EC6B08BAA57B5C7810&index=24
$(document).ready(function() { @@@when document ready
$('#searchme').keyup(function() { @@@for every key up/entered do this
searchme = $(this).val(); @@@text input field now equals this value
$('#names li').removeClass('highlight'); @@@grab the names and remove the highlights
if (jQuery.trim(searchme) != '') { @@@using jquery.trim on the field look for
$("#names li:contains('" + searchme + "')").addClass('highlight'); @@@key up grabs the names and adds the contains method and plus the input and highlights only the grabbed ones
}
});
});
also creating a style sheet that makes it look better and a index.php with a input and id and <ul>
- «Prev
- Next »
Moderate user : jessRaa
© 2012 jQuery Foundation
Sponsored by
and others.


