- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 41
- Posts with Upvotes
- 39
- Upvoting Members
- 32
- Downvotes Received
- 7
- Posts with Downvotes
- 4
- Downvoting Members
- 7
I'm A Front-end developer who practices good standards with my projects or projects that i am assigned to work on. I'm for Hire.
- Interests
- Front-end and Back-end development
- PC Specs
- CPU: Intel CORE i7 6700 MOBO: MSI B150M Night Elf RAM: Kingston HyperX FURY 4gb x 2 DDR4/2100 (a total…
Re: Hi, An old thread, but might help someone who needs it. You can detect any level of access by getting their username. <?php // Let's assume that you have set your database connection @ $conn OBJECT. // you might wanna use token keys to secure the access. $username = isset($_POST['username']) … | |
Re: Hi, here's a short example on how you would apply it inside an empty div. Only one div has some text inside and this will prevent any changes made by the drop event except from the 3 divs. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta … | |
Re: Hi, I'm not sure if this is what you seek for. But here's a way to do it somehow: assuming we have the following SELECT element with a class of "parent". jQuery(document).ready(function($){ $('.parent').children('option').each(function(index,item){ $(this).on('click',function(e){ e.preventDefault(); // This will return the text instead of its value console.log($(this).text()); }); }); }); my … | |
Re: Hi, Here's what i have so far, note that this will only work in IE9+ and as well with all modern browser out there... <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Copying text over the clipboard</title> <style> .wpic{ width:115px; height:115px; border:2px black solid; … | |
Re: Hi, might overseen this line: It should be like this ` if (response == "success") {` instead of | |
Re: Hi, hrushi9 here's a simple demo that ive created to give you an idea on how things work using the CSS animation. You may also use CSS Transition in repalce of this example. Just mix things up, experiment and you are good to go. <!-- By: Essential kindly keep this … | |
Re: Hi, Have you examine this part? | |
Re: Hi, this might come in handy to achieve what you exactly need. Check the link below. [Facebook Dev](https://developers.facebook.com/docs/plugins/share-button/#example) you can do it like this: <!-- Load Facebook SDK for JavaScript --> <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 = … | |
Re: Here's a simple javascript demo, that will generate different images depending on what day of the week occured! You can easily modify the whole script and convert it, to load different images depending on the day of the month. Just simply provide all valid path of your images inside the … | |
Re: This basic example will force the user to select atleast 1 option from the selection list. Hope you had a great time! Enjoy coding... [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>SomeTitle</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />[/code] [code=javascript]<script type="text/javascript"> <!-- BEGIN HIDING function validateR(form) <!-- BEGIN HIDING … | |
Re: Here you go! You may try this 1 1st! [code=html]<html> <head> <title>AutoScrolling</title>[/code] [code=javascript]<script type="text/javascript"> <!-- BEGIN HIDING window.onload = pageScroll; function pageScroll() { window.scrollBy(0,-50); scrolldelay = setTimeout('pageScroll()', 200); /* Increase this # to slow down, decrease to speed up scrolling */ } // DONE HIDING--> </script>[/code] [code=html]</head> <body> <div> <iframe … | |
Re: Please feel free to modify this code to match your needs. If you have any question regarding this code you can [color=green]document.write('Me on my inbox').[/color] lol! Have a good day... [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Some Title</titles>[/code] [code=javascript]<script type="text/javascript"> <!-- … | |
Re: Try to install another browser. Perhaps you should try opera and see how things will go! | |
Re: You can submit your form by stating it inside your conditional statement. e.g [code]if ( true ) { document.formId.submit(); return true; } return false;[/code] | |
Re: Here's a bit of example of getting Javascript variables into cells. [code=javascript]<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>Getting Javascript Variable and Display into Table Cell</title> <style type="text/css"> … | |
Re: You can skip some of the lines in your php code, by simply creating a new .txt file and then save it as [color=red]incorrect.txt[/color] in the same directory along with your [color=red]test.php[/color] file and include the single word you need -- which is the [b]incorrect[/b] word... Here's the code for … | |
Re: Try this : [code]<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml-stylesheet type="text/css" href="#cssl21" media="screen"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html id="xhtml10S" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://www.w3.org/2005/10/profile"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="Window-Target" content="_top" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Free Live Help!</title> … | |
Re: It depends on what purpose you intend to use it. Both performs well if you spend extra buck's on your RIG. . . | |
Re: Try this simple demo of a custom popup: [code]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html id="html40L" lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Window-target" content="_top"> <title>Free Live Help!</title> <style type="text/css"> <!-- label + div { margin-bottom : 1em; font … | |
Re: Or you can simply set different style sheets for specific media types. Like for example: [code=css]<style type="text/css" media="all"> /* <![CDATA[ */ /* Applying external style sheet */ @import "your-default.css" screen; @import "css-mobile.css" handheld; /* For inline style */ @media screen { html, body { height: 100%; min-width: 800px; max-width: 1024px … | |
You are free to use and modify my layout in any purpose, and I hope you find this useful! Enjoy... | |
Re: The only way to capture or embed .txt file into (x)HTML document, is to use AJAX. Just let me know if you need some example over this thing. | |
Re: This remains unsolved... But let me help you a bit! You can achieved desired output, by doing this code: [code=javascript]<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" … | |
It performs the toggle function to change the class of the paragraph tags and reverts back to the default class name when user rollout of it. You can embed the CSS style code inside the Head section of your page using HTML style tag. Code is as follows : | |
Re: Please feel free to modify this code to match your needs. If you have any question regarding this code you can [color=green]document.write('Me on my inbox').[/color] lol! Have a good day... [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Some Title</titles>[/code] [code=css]<style type="text/css"> <!-- … | |
Re: Here you have it: [code=javascript]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Test Page</title> <script type="text/javascript"> <!-- check = function( form ) { try { with( form ) { // Dual Mode if (!( chb0.checked ) && !( chb1.checked )) … | |
Re: This should work! If not then try to check you plug-ins... [code=html]<html> <head> <title><!-- Sample --></title>[/code] [code=javascript]<script type="text/javascript"> <!-- function playSound( mysound ) { thisSound = document.getElementById(mysound); thisSound.Play(); } //--> </script>[/code] [code=html]</head> <body> <embed src="someaudiofile.mp3/mid/wav" autostart="false" width="0" height="0" id="sound1" enablejavascript="true" /> <br /> <a href="javascript:void(0);" onmouseover="playSound('sound1');">Play Sound!</a> </body> </html>[/code] | |
Re: Please feel free to modify this code to match your needs. If you have any question regarding this code you can [color=green]document.write('Me on my inbox').[/color] lol! Have a good day... [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Some Title</title>[/code] [code=javascript]<script type="text/javascript"> function … | |
Re: Hi, you could try this: [CODE]<html> <head> <title>Live Help</title> <script type="text/javascript"> <!-- var getVal = (function() { var obj = ( function( thisId ) { var myObj = document.getElementById( thisId ) || document.all[ thisId ]; return myObj; } ); var newtext2 = obj( "reply" ).value; obj( "layer1" ).innerHTML = (( … |