Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
12
Posts with Upvotes
10
Upvoting Members
10
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
0 Endorsements
Ranked #2K
~25.4K People Reached
About Me

I am a freelance web developer from Oldham in the UK. I am married and have a beautiful daughter.

Favorite Tags
Member Avatar for Yanny_1
Member Avatar for Moderns

might just be that the images need to be optimised for the web. you could add a small delay setTimeout(function(){ startSlideShow(ob); },2000); added delay of 2 seconds but you would need to change this to whatever you feel is right.

Member Avatar for theHop
0
224
Member Avatar for GeekPlease

i was just looking in dev tools in chrome. it looks like 2 absolutely positioned divs side by side with each img as a fixed bg img. then testing where mouse pos is in relation to whichever side, the div's left/right position and width are animated. so if on the …

Member Avatar for theHop
0
120
Member Avatar for NCL89

As it stands you don't put the ids in the labels.Or anywhere on the formfor that matter. you could add two extra hidden labels on the form where you store the ids and them pull their text into the parameters

Member Avatar for theHop
0
211
Member Avatar for dandeliondream

Hi. In the example you give there is a combination of the javascript scroll event to test against the Id of a section compared to the scrollTop. this then actually does a "redirect". I put this in speach marks because the seems to stay the same but is using server …

Member Avatar for theHop
0
109
Member Avatar for furlanut

on line 39 is $name in that string a php variable? if so should it not be var parameters="char=<?php echo $name; ?>"

Member Avatar for furlanut
0
125
Member Avatar for dwlamb
Member Avatar for TomH.PG
0
286
Member Avatar for davy_yg

Text boxes and buttons are fully customisable with CSS. You can set background images, change borders etc

Member Avatar for <M/>
0
114
Member Avatar for w33n
Member Avatar for theHop
0
127
Member Avatar for TexITTech

line 29 has var remarksbox = document.getElementById('Remarks').value; but then after that you're doing remarksbox.value = effectivly that translates as remarksbox.value.value = change line 29 to: var remarksbox = document.getElementById('Remarks');

Member Avatar for theHop
0
335
Member Avatar for cirbab4

use keyup instead of keypress. just tried it and it worked better. $('#txtbox').keyup(function() { var textLen = $(this).val().length; var textLeft = parseInt($(this).attr("maxlength")) - textLen; $('#charCount').text( textLeft + ' character' + (textLeft == 1 ? '' : 's') + ' left' ); }); $('#txtbox').keyup(); I added the maxlength attibute to your …

Member Avatar for stbuchok
0
200
Member Avatar for yankeefan24
Member Avatar for theHop
0
226
Member Avatar for capmarketing

looking at the source, you have forgotten to close the last script tag. Also. the callback function on your json function seems to be doing alot of document.writes. maybe pick an elementbyid and use innerHTML += instead of document.write. the only reason I say this is because when I view …

Member Avatar for theHop
0
163
Member Avatar for jamey8420
Member Avatar for blivori
Member Avatar for espil

just need use AJAX. Do a quick search if you're not familiar with it. you would get the dynamic variables with an ajax call and then update the image in your javascript onclick event.

Member Avatar for theHop
0
252
Member Avatar for theHop

I recently undertook a development job where i needed to create a music player. We decided that the music should be managed from soundcloud.com (let them deal with the storage band width). There was one problem. to make it work in ALL modern browsers there needed to be be at …

Member Avatar for theHop
1
243
Member Avatar for Amit_15

Hi. I had to rem-make it all together to get what I think you wanted. Have a look at this http://jsfiddle.net/andy_hop/FyqwS/

Member Avatar for theHop
0
264
Member Avatar for klemme

Hi. Is the "fade()" function already written? set your css for sec_1_svar_id so that the opacity is at 0. add the content with AJAX then call fade. function fadeUp(obj){ if(typeof(obj) == "string"){ obj = document.getElementById(obj); } var t; var opacity_counter = 0; var doFade = function(){ obj.style.opacity = (opacity_counter/100); /* …

Member Avatar for theHop
0
132
Member Avatar for RenanLazarotto

Hi. looking at the css on the site they are actually using CSS3's transitions. have a look here http://www.w3schools.com/css3/css3_transitions.asp for a little help on it. personally, I would probably use JQuery for it.

Member Avatar for RenanLazarotto
0
151
Member Avatar for riahc3

taking the plus out would replace all whitespace chars with nothing variable.replace(/\s/g,""); if it's not working maybe there's something in the code surrounding this that needs debugging.

Member Avatar for riahc3
0
206
Member Avatar for asrsmunna
Member Avatar for radhakrishna.p
0
930
Member Avatar for Vijaysurya

This usually happens when you get an element by ID and then use the hadle forgetting to use innerText or innerHTML. e.g. var div = document.getElementById("myDiv"); var text = "My div says " + div; this would produce the string "My Div says [object Object]" as pritaeas said, though. we …

Member Avatar for stbuchok
0
3K
Member Avatar for efth

what are the commas for? plusyou have missed a forward slash on image path. this May work function nxtimg(country){ document.getElementById("imgcont").src="images/" + country + "/" + imgs[i] + ".jpg"; i++; }

Member Avatar for theHop
0
261
Member Avatar for bvrameshbabu

Not as far as I'm aware. but if converted to string it can be converted back to Integer afterwards. Seems an odd requirement though. can't actually see how this would affect a client at all!

Member Avatar for DavidB
0
151
Member Avatar for troels_y

what about this var cont = document.getElementById("content"); cont.innerHTML = ""; var s = document.createElement("script"); s.type = "text/javascript"; s.src = \"js\/demo.js\"; cont.appendChild(s);

Member Avatar for Troy III
0
271
Member Avatar for Bremen Emeth

<script> var hidden = true; function ToggleTB(){ var tb = document.getElementById("divText"); if(hidden){ tb.style.display = "block"; hidden = false; }else{ tb.style.display = "none"; hidden = true; } } </script> <input type="radio" onclick="ToggleTB();" checked /> <div id="divText" style="display:none;"><textarea></textarea></div> Having the global 'hidden' variable to check against means that the textarea's display can …

Member Avatar for Bremen Emeth
0
3K
Member Avatar for jonsan32

I've ended shortening then script at the same time. I swapped your textarea out in favour of a div and put all your urls in a object literal. (could have been an associative array. Makes no difference really. <script type="text/javascript"> links = { A:"https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I21263C4FA139C15D7BAC/ical.ics", B:"https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I212NEKA9Y139E57D8DDA/ical.ics", C:"https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I212WPEPUP1396F85E02B/ical.ics", D:"https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I212NEKA9Y139E57D8DDA/ical.ics", E:"https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I212ETT9PK139C15F2C25/ical.ics", F:"https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I212Y6WMF4139C1C22637/ical.ics", G:"https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I212AT4NRY139C165DB97/ical.ics", …

Member Avatar for jonsan32
0
248
Member Avatar for code_r

no global variables neccesary <script> function toDays(years) { var time = 365 * years; return time; } document.write("My age is " + toDays(21)); </script>

Member Avatar for theHop
0
205
Member Avatar for Headshot_Harry