Tag Archives: Text Javascript

How can I make this jQuery Script to work?

Hi To begin with a big due to smoseley and mlseim for ones help the different time. From a person’s advice (go in order to Google!! )I saw an awesome article at http: //webdeveloperplus. com/jquery/featured-content-slider-using-jquery-ui/#comment-4280. I followed the actual article and invented this featured content material slider. Check that at http: //www. zackamata. com. The condition is that the featured content slider will not rotate/update automatically such as the demo does with http: //demo. webdeveloperplus. com/featured-content-slider/. Please what can one do so the images rotate just like in the simulated The paths for a jQuery files are wrong inside the script reference. alligatortek. Thank you for that word of advice. Could you remember to show me the right way to set the proper paths to my personal jQuery files I don’t know where they are stored on the server, so very little. currently you’re going at your main folder. < script type=" text/javascript" src=" jquery. min. js" > < /script> < script type=" text/javascript" src=" jquery-ui. min. js" > < /script> < script type=" text/javascript" src=" interface. js" > < /script> Should you have them stored inside a js folder or perhaps something, then your path would have to be … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , | Leave a comment

Can someone help with bring-to-front code for pop-up windows?

Hello there, I have any music site, and on one particular page surfers can visit song titles also it opens up any pop-up window that contain the lyrics. While you click onto the principle window again, the actual pop-up then relegates to help underneath it, just in case you click around the same link once more, you get nothing – if you don’t closed the pop-up very first. How can i modify my javascript so clicking to the pop-up link will bring an already open window for the front This is the popup computer code currently: Code: < your href=" javascript: void(window. open(‘rpages/poar/dragofsloth. html’, ‘The Move of Sloth’, ‘resizable=1, width=585, height=420, top=60, left=60′))" > JUST ONE. The Drag of Sloth< /a> It’s important to focus() the eye-port. Try something like this (untested). Would be superior to slap the code in the function and call taht out of your link. < your href=" javascript: var times = window. open(‘rpages/poar/dragofsloth. html’, ‘The Move of Sloth’, ‘resizable=1, width=585, height=420, top=60, left=60’); times. focus(); " > JUST ONE. The Drag of Sloth< /a> That works! Thanks Smoseley, really appreciate it. So you’re telling (I’m a j. script newbie, excuse me) I should squeeze bulk … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

How to integrate Google map in custom CMS?

The client has PHP-MYSQL based custom CMS Internet site. How to combine Google map there. Clients website consist of some specific address which i want spot with the help of Google map. Any suggestion and comment in this regard will possibly be appreciated. Thank An individual. Code: < div id=" google_map" style=" wider: 600px; height: 400px; " > < /div> < script type=" text/javascript" src=" http: //maps. yahoo and google. com/mapsfile=api& amp; v=2. x& amplifier; key=YOUR_GOOGLE_MAPS_KEY" > < /script> < script type=" text/javascript" > //<! CDATA var road = null; var geocoder = null; whenever (GBrowserIsCompatible()) map = new GMap2(document. getElementById(" google_map" )); geocoder = new GClientGeocoder(); if (geocoder) var deal with = " 123 The Way, Miami, FL 33131"; var level = geocoder. getLatLng(address, function(point) whenever (! point) alert(address + " definitely not found" ); otherwise map. setCenter(point, 13); var marker = new GMarker(point); road. addOverlay(marker); marker. openInfoWindowHtml(" < p> The info window popup< /p> " ); ); < /script> .

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Adding extra text boxes

I need to add extra word boxes to my own site dynamically. The user is provided just one text box by means of default to key in data. But if they have to enter more as compared with one line, I want there becoming a button to own another box glimpse. I have found this done in other sites, but I can’t visualize one. Will be best way to achieve this Javascript Indeed, javascript. If you’re accustomed to jQuery, this is rather easy to create. Simply append() more boxes should the user clicks() any button. I realize the jquery course. Here’s a good example and tutorial on how you can add form aspects dynamically: Article: http: //www. coldfusionjedi. com/index. cfm/2009/2/19/Using-jQuery-to-add-form-fields Tryout: http: //www. coldfusionjedi. com/demos/jqueryadd/test1. cfm Expectation this helps. HTML: < script type=" text/javascript" > var pos = 0; functionality addbox() var put = document. getElementById(‘THE_ID_OF_PLACE’); put. innerHTML += ‘< feedback type=" text" id=" entry’ + pos + ‘" /> WI < /script> Rudimentary although works Thanks for all the responses. I’ll be presenting it a opportunity sometime this full week after I get some good other stuff away from my plate. I have also be reading on Ruby. Since … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Google Translate creating validation errors

I’m trying to add the following standard code to include google translate that will my website but when i try to verify the page it truly is giving me faults. – < div style=" text-align: right; padding-right: 10px; " > < div id=" google_translate_element" > < /div> < script> purpose googleTranslateElementInit() new google. translate. TranslateElement( pageLanguage: ‘en’, structure: google. translate. TranslateElement. InlineLayout. SIMPLE , ‘google_translate_element’); < /script> < script src=" //translate. yahoo and google. com/translate_a/element. jscb=googleTranslateElementInit" > < /script> < /div> – Line 272, Column 51: necessary attribute " type" definitely not specified < div id=" google_translate_element" > < /div> < script The attribute given above is required for an component that you’ve used, but you get omitted it. Such as, in most HTML PAGE and XHTML insurance types the " type" attribute is required on the " script" element plus the " alt" attribute is required for the " img" ingredient. Typical values for sort are type=" text/css" to get < style> and type=" text/javascript" to get < script>. Line 279, Column 101: necessary attribute " type" definitely not specified later. google. com/translate_a/element. jscb=googleTranslateElementInit" < /script> The attribute given above is required for an component that you’ve used, but … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Typekit not working on WordPress.org site

We have a typekit account, picked out the particular fonts, placed the particular embed code, additional the selectors, and still nothing is showing up. Does typekit not talk with WordPress. org Anyone know I’d like to get it working with not a plugin, if feasible. Just in the event that anyone is questioning, I stuck the particular embed code in the correct place, once the " head" tag in my header. php report. Code: < head> < script type=" text/javascript" src=" http: //use. typekit. com/adq1mqg. js" > < /script> < script type=" text/javascript" > tryTypekit. load(); catch(e)< /script> < meta charset=" < php bloginfo( ‘charset’ ); > " /> < title> < php….. Do you mean nothing is participating, as in your current fonts, or nothing is showing up… like a blank white filter (totally blank) A totally clear white screen tells me you have a PHP scripting error plus your error reporting is not power on, so you don’t reach see what that error is. You can turn that with via your hosting company control panel, or maybe using. htaccess, or maybe using some PHP scripting: // Report all errors except E_NOTICE // The default value proceed php. ini … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , | Leave a comment

Can anyone kindly help me finding this slider

Hi, I’ve been trying to be able to reproduce this slider to get my school job since almost 3 weeks now and I just now could not locate it. the link for your page is http: //cms. template-help. com/magento_32726/. I believe that it is a JQuery slider yet I need the identical slider which I could not locate. WE tried viewing this source but for a second time no luck. hope you guys might help me here. Thakns Code: < script type=" text/javascript" src=" URLhttp: //cms. template-help. com/magento_32726/skin/frontend/default/theme201/js/slider. js" > < /script/URL> < script type=" text/javascript" > jQuery(window). bind(‘load’, function() jQuery(). prepare_slider(); jQuery(). intro(); var is_ie = fake; if(navigator. userAgent. indexOf(‘IE 7’)! =-1 navigator. userAgent. indexOf(‘IE 8’)! =-1) is_ie = real; jQuery(" #slider_list a" ). click(function() var Method = jQuery(this). find(‘img’). attr(" src" ). replace(new RegExp(". jpg" ), " -big. png" ); var number = parseInt(jQuery(this). attr(" class" ). replace(new RegExp(" product-image item-" ), " " )); jQuery(". home-slider. products-content" ). each(function() jQuery(this). fadeOut(‘slow’); ); if(is_ie == true) jQuery(" #largeImg" ). attr( src: Path); jQuery(". home-slider. products-content. item-" + number). delay(1000). fadeIn(‘slow’); otherwise jQuery(" #largeImg" ). fadeOut(‘slow’, function() jQuery(this). attr( src: Path). fadeIn(‘slow’); jQuery(". home-slider. products-content. item-" + number). fadeIn(‘slow’); … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

How to do this?

I’d like to make an ad similar to this: http: //forum. notebookreview. com/ (disable adBlock previous to viewing) Thank you. The most simple method would be to make a splash page ype with deal, and the ‘skip’ button leads to your actual internet page. More difficult option is that will reverse the lightbox jQuery plug-in, as well as load the pop-up at pageLoad, then help it become close once a person click the ‘skip’ hyperlink. 3 rd option: make a div having a z-index of a great deal that covers an entire page (and includes the ad), and write jquery in which changes it’s presence to hidden when you click the ‘skip’ hyperlink. That’s a good idea, the jQuery 1 – I’m not attached to splash pages. Well the advertisement is simply a splash web page, so you’re planning to hate it anyway. Best bet will be just jQuery don’t need lamp, just a div that contains the ad as well as code like this HTML Code: < div id=" advertisement" > Listing code here < the href=" #" id=" closethead" > Close< /a> < /div> Code: < script type=" text/javascript" > $(document). ready(function() $(‘#advertisement’). show(); ); $(‘#closethead’). click(function() $(‘advertisement’). … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Is my code old fashioned?

Hi there, Someone just absolutly slated one of my sites to be old fashioned plus coded badly. I think they dont understand what they’re talking regarding. Can anyone comment on this code along with tell me if its expired or old created or plainly simply wrong This can be a basic site without dynamic however several aspects of it are puilled coming from php files including the menu and this footer etc. Code: <! DOCTYPE html PUBLIC " -//W3C//DTD XHTML YOU. 0 Transitional//EN" " http: //www. w3. org/TR/xhtml1/DTD/xhtml1-transitional. dtd" > < html xmlns=" http: //www. w3. org/1999/xhtml" xml: lang=" en" > < head> < meta http-equiv=" Content-Type" content=" text/html; charset=utf-8" /> < title> Major Cultivation Parts Agricast< /title> < meta name=" keywords" content=" Major Cultivation Parts, agricast" /> < meta name=" description" content=" " /> < meta name=" copyright" content=" Copyright 2011 Most Rights Reserved" /> < meta name=" author" content=" " /> < meta name=" robots" content=" list, follow" /> < link rel=" stylesheet" href=" agricast. css" type=" text/css" /> < script type=" text/javascript" src=" http: //ajax. googleapis. com/ajax/libs/jquery/1. FOUR. 2/jquery. min. js" > < /script> < script type=" text/javascript" src=" fadeslideshow. js" > /*********************************************** * Epitome of Fade … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

jQuery not working

What exactly am I doing wrong Gives thanks! it is the big " sample" slider with http: //phpos. org/ OK must i call my JavaScript from the body after or leading to a Div in which it really is used Or am I purported to put it from the head I do think that’s why my slider is not really working right. But Thought about don’t know. You need to advise! Or could it be a CSS difficulty You should place the slider javascripting inside the < head> part of your script. And you also are referencing this kind of file: jquery-1. SOME. 2. js Although I can’t come across it.. did you distribute that file You’ll need that file. Aha! WHEN I simply linked that to http: //ajax. ms. com/ajax/jQuery/jquery-1. 4. 3. min. js instead and from now on it works Many thanks! Actually you place the jQuery in the long run of the body. Hence like this Code: < script type=" text/javascript" src=" jquery. js" > < /script> < script type=" text/javascript" > $(document). ready(function() //jQuery throughout here blah blah blah ); < /script> Thus, it loads the other site first, which makes it so that the consumer … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , | Leave a comment
Page 3 of 41234