-
Get and access stock/share prices on website?
Hi Guys, I'm part of a share club and want to build a simple site which shows how our portfolio is doing. I need to somehow get market data (20mins delayed is fine), access that data, i.e. the price, so I can then multiply it by however many shares we have in that stock. I know I can get widgets from yahoo etc which will display prices but I need to access the data so I can do the necessary sums?! Any ideas?
-
Display inline IE7.....again! Sorry!
Hi guys, I haven't had a problem with displaying my nav bars inline before in IE7, and I have used the same code this time but this time it will not display inline whatever I do! It is just displaying vertically. I 've had a good read about and it seems like people have a lot of problems, and I've tried the applying the suggested 'zoom:1;' to the li and link elements, but still no luck. Here is my CSS for the nav bar. #nav { width:680px; height:32px; float:right; margin:18px 0px 0px 0px; } #nav ul { width:680px; list-style:none; display:inline; } #nav ul li { float:right; display:inline; margin:0px 0px 0px 6px; } #nav ul li a { display:block; height:32px; float:right; } Any ideas?
-
BX SLider & jQuery Datepicker together
Ah thanks a lot guys!!
-
BX SLider & jQuery Datepicker together
Ah thanks a lot mate, copied and pasted that in and all works! What exactly did you do and what was causing the problem?
-
BX SLider & jQuery Datepicker together
Hi guys, I'm pretty good with HTML, CSS, PHP, MySQL but JS not really. I am using BX Slider on a site which is working well. I now added the jQuery datepicker for the first time and this works as long as the javascripts in the head of the document are above that for the BX Slider. In this case however, the BX Slider doesnt work. If the BX Slider script is above the datepicker on the datepicker doesnt work. Any help on how to get them bother working? Here is my code in the head of the document. Also, the html for the BX Slider is before the datepicker. <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script> <script src="js/jquery.bxSlider.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ $('#slider1').bxSlider({ mode: 'fade', auto: true, controls: false, speed: 1000, pause: 7000, pager: false, randomStart: true }); }); </script> <link rel="stylesheet" type="text/css" href="datepicker/css/ui-lightness/jquery-ui-1.8.19.custom.css" /> <script type="text/javascript" src="datepicker/js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="datepicker/js/jquery-ui-1.8.19.custom.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#datepicker").datepicker() }); </script>
-
Make a div visible when another is hoverd on
Hi guys, I am trying to get the #north_america_text div to show when the #north_america_image div is hovered over. Here is some test code I am using <div id="north_america"> <div id="north_america_image"> </div> <div id="north_america_text"> </div> </div> CSS I've just used absolute positioning for testing, all will be floated etc later if I can get it to work. #north_america { height:150px; width:125px; border:1px solid #fff; position:absolute; top:150px; left:150px; position:relative; } #north_america_image { height:80px; width:125px; position:absolute; top:0px; left:0px; border:1px solid #F00; } #north_america_text { width:125px; height:30px; border:1px solid #0F0; visibility:hidden; position:absolute; bottom:0px; left:0px; } div#north_america_image:hover div#north_america_text { visibility:visible; } This doesn't work, what does?! Cheers
-
Change drop down boxes based on other drop down boxes?
Hi guys, I want something like this I found on this website on the right that dynamically changes bases on the previous selection. (Book a course form) http://www.leadership.org.uk/ I'm pretty good at PHP and MySQL and could easily acheive this but the page would have to reload each time. On the site above it looks like jQuery or something doing the work which I have no idea about. Can you link me to a plugin or tutorial of how to do this. Thanks
-
-
Selecting multiple ID's using IN(2.5.6) for example
Thanks a lot for the quick response! So simple! Fully working now! Thanks again
-
Selecting multiple ID's using IN(2.5.6) for example
Hi guys, I cant figure this one out. $result = mysql_query("SELECT jobalert.id, firstname, lastname, email, mobile, jobSectorid, location, date FROM jobalert WHERE jobalert.id IN(1,13,21) ORDER BY lastname"); Running this work fine, and three rows are selected, but I need to use a variable I have created for the in part like this $result = mysql_query("SELECT jobalert.id, firstname, lastname, email, mobile, jobSectorid, location, date FROM jobalert WHERE jobalert.id IN('$part') ORDER BY lastname"); $part = '1,13,21'; I only ever get the row with the ID of 1 returned using the last statement. How do I go about getting it to select 2 lines or more using the variable $part. Cheers
-
Background Image not reapeating/showing when scrolling?
Hi there, I have the same problem on my sites as lynda.com for example. Go to lynda.com and make your window say 300px wide and use the scroll bar at the bottom to move left and right across the page, the background to the yellow search bar and some other backgrounds dont show. Please see attached file for a screenshot of the problem. How can I fix this show it does show when scrolled? On such div's I am using background:url(....jpg) repeat-x; etc. Thanks
-
Help with Facebook link thumbnails
Working now, I didn't change anything, seems like FB might have some sort of 24 hour cache or something! Hey ho!
-
Problems with linking to different CSS for IE6,7 and 8
I used my own, but, just having googled ccs reset maybe I should be using a more thorough one likethe eric meyer one. Thanks for the advice.
-
Help with Facebook link thumbnails
Hi, I am trying to get Facebook to pick up thumbnails from a site when it is linked to on Facebook. I have followed exactly the same procedure on two sites and one is working fine and the other is not and I can't figure out why. After a lot of reading it seems facebook wants a meta title and description (which the site both obviously have) and an image link tag which looks like this. <link rel="image_src" href= image /> with the image link being an absolute source. (had to remove quotes etc. becuase I can't post links. I have done this on both sites, with images that are 200px x 200px and both only 9kb in size. The site which is working uses .html pages whie the other uses .php pages with about 3 includes per page. Do you this the php is causing it not to work? Any ideas appreciated! I can't link to the sites in question becuase I don't have enough posts. Cheers
-
Problems with linking to different CSS for IE6,7 and 8
A few of the margins and padding were rednering slightly different on IE7, and in IE6 it looks a complete mess, but that's going to be work in progress! Thanks again
-
Problem with IE7 which I cannot work out
Thanks for the reply, indeed FF does the same when JS is diabled. I have used this rotator on a couple of sites with different sized images and have have never had to touch the CSS of the rotator to change it's size, I just specify the size in the script in the main HTML. I'll see if anyone else can chip in! Thanks EDIT: A nice member from the forum just emailed me and it turns out there was an extra comma in part of the JS which was messing IE7 up! I wish I'd just asked on here ages ago! I'll definately be on here regularly now to help others where I can. This can be so stressful at times!!