Improve The Look Of The Output?
Nov 13, 2009
This code works successfully, however the outputted message looks boring and unprofessional.
This appears with a plain grey border around it: "You cannot upload without first logging in. If you have not already logged in, please do that first." How do you add attributes to those script lines? And the border too?
[Code]...
View 2 Replies
ADVERTISEMENT
Apr 10, 2009
How to improve the web site loading performance. My current site takes average time 18 sec. to load in first time. and 2nd time refresh it takes 12 sec. through YSlow I am observing the request time it more. how to achieve the better performance. My html code is very much clean and w3c validated.
View 1 Replies
View Related
May 27, 2010
I have a input date field, I hope that javascript can validate and improve that input date. For example, if I input 5/27 the result will be 2010/05/27, if I input 10/5/27, the same result will be showed, and so on.
How can I do use JavaScript or jQuery?
Code:
<script type="text/javascript">
$(document).ready(function() {
$('#s_dt').change(function() {
debugger;
[Code]....
View 4 Replies
View Related
Oct 3, 2009
For example, you want to make different all links (a tags), which href attribute is set to external site. So I wrote a small piece of JQuery code, which add class, to all external links.As bonus it's also do shortening of long URLs in link text.
View 1 Replies
View Related
Aug 24, 2011
Is it possible to improve the contrast of images in a specific DIV? (jQuery or JavaScript)It is very necessary to me
View 9 Replies
View Related
Jun 10, 2010
On this link you will see my test site:At the moment I am not too happy with the animation on the navigation menu.As you will see as you click quickly through the various links the animation is very jumpy because of the way I have coded it.Also when you click on the gallery page and then select the various gallery images, the animated ball moves all the way to the left.Here is the JQuery code for the animation:
PHP Code:$(function() {//event object (notice it in the parameter list) contains data about the event handled$(".linkbox").mouseover(function(event){//selectedDiv is the clicked object, so you can do what ever u want on the box clicked ;)var selectedDiv = $(this);var divPosition = selectedDiv.position();var divPositionLeft = divPosition.left;$(".circle").animate( {"left": + divPositionLeft}, "100" );})})function movebacka() {Each page has an include file with the nav menu contents, so every time you click a link in the nav menu, a new page has to load, therefor causing the jumpiness in the animation. What are the best ways to resolve these kind of issues.
View 6 Replies
View Related
Feb 5, 2011
I have 3 images that I would like to display horizontally. I need a default text to appear first when the page loads. When an image is clicked on, the new text should slide down covering the default text. When another image is clicked on that text should slide down and cover the previous image's text.Right now the script only allows a vertical display of the images and I can't put the sliding text in a specific place.Here is the CSS
Code:
<head>
<style type="text/css">
[code]....
View 4 Replies
View Related
Apr 15, 2011
i have been coding on this vertical sliding navigation quite a while. its tested on all relevant browsers and works like a dream. id loved to show you an example of it, but the site is under development, and i, as a little coder, am not allowed to grant access to it, additionally i do not have enough time to create a testcase for everybody to see.
to give you a short insight:
the site is quite long (vertically) and we wanted a small navigation (very subtle) to follow the user when scrolling. the problem was: the footer is quite long too, and we didnt want the sliding navigation to reach into it, when scrolling down the footer. in other words: i had to stop the animation when the sliding nav reached the end of the main content.so far so good, i had NO idea how to tell the animation to stop at certain conditions, other than telling it that from the start.
my solution is totally workaround and completely selfmade. but i am SURE that there is some kind of "stop animation when condition is met"-command i was totally overlooking. so please dear jquery community: tell me what i am doing wrong, and how i could improve this function.
[Code]...
View 1 Replies
View Related
May 8, 2009
How can i improve image quality on resizing it by mouse dragging.
I need to do this using javascript. Can we achieve this using some scale factors.
View 1 Replies
View Related
Jul 23, 2005
There's a setting in php.ini: zlib.output_compression = xxx
If it is set to "On", php will bzip the output of scripts so that there is
less data to transfer to the client.
I found that this setting is quite useful especially on slow connections,
but I have a slight problem with it: it also compresses output of scripts
which generate pdf files. While Mozilla / Firefox handles this well, IE
simply fails to show the document.
Is there any way to tell PHP not to compress output of certain scripts. Is
there a command for that?
View 1 Replies
View Related
Mar 16, 2009
I have this script here but im struggling to add commas to the output to seperate the figures. e.g. rather than 10000, I would like 10,000 here is the script:
This year approximately <span id="fires" ></span> people have died in a fire.
View 3 Replies
View Related
Oct 4, 2009
I cant get seem to get this array to print the numbers 1 to 15 out. When I preview I get nothing, anyone know what I am doing wrong?
View 1 Replies
View Related
Sep 7, 2011
I thought I knew how, but I'm unclear how to get this function to display: document.getElementById("txtHint").innerHTML=xmlhttp.responseText;" inside the div.
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4 && xmlhttp.status==200) {
var div = document.createElement('div');
[code]....
View 3 Replies
View Related
Nov 16, 2011
How do you simply output the current url in the browser i.e if i am in google.com I want google.com outputted and so on.Also on multilanguage sites if my url is say www.mydomain.com/en/about.html or www.mydomain.com/en/animals/horses/racehorses/stallions.html I want to be able to manipulate the url so I can change en to fr for example when I jump between english and french pages. I want users to be able to switch the language of that particular page by clicking a link. I need to be able to switch segment one of the url (en,fr,de etc...)dynamically somehow instead of hardcoding a link into each page.
View 2 Replies
View Related
Oct 7, 2009
Ok Im am so very lost on what to do now, I have written the php code and would like to display the contents of what is being echoed through the url.Example is by enteringmywebsite.com/index.php?dog=dogs it returns "a dog"mywebsite.com/index.php?dog=littledog returns "a little dog"What I would like to do is display the output of the urls to my webpage using javascript in popups. I have the pops written already I just need to be able to display the output.Please note that some of the pages are html so I would like to do this in javascript.
View 1 Replies
View Related
Jul 2, 2010
function args() { return arguments; }args(); the reault is []?what's the "return arguments; meaning?
View 1 Replies
View Related
May 25, 2011
how I can style the html output of the following statement:
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
[code]....
View 13 Replies
View Related
Jul 23, 2011
I have a html form that is submitted with a submit button code...
if I display the output using the alert methods(now commented out) they work fine. I was hoping to display my messages in the div with id of output.
When that didn't work I tried to see if I could send anything to the div.
When I click the submit button the message "WTF" appears for at most half a second. I'm hoping to get it to stick around. I'm sure it has something to do with how form submission works. Maybe I need to submit to the same page? can I do that with JS?
View 1 Replies
View Related
Jul 23, 2005
I have a for each loop in javascript, of which I need to output to an
ASP array. unfortunantly not too familiar with javascript..
the loop is for items ordered in a shopping cart. they are displayed
as rows of a table. all i need to do is get the same data into an ASP
array to use on the next page, specificaly the +theitem+ and
+thenumber+ variables. Code:
View 2 Replies
View Related
Jul 20, 2005
I need to take text from a database, turn it into a barcode from the
Web and print to a Zebra Z4M barcode printer. I am stuck at two
separate approaches.
1. Use ZPL II (Zebra's proprietary language to command the printer)
which is executed at a DOS Prompt with "COPY BarCode.txt LPT1" Is
there any way to run that from the web. Also, is there any other
method of sending the information in the text file to the printer?
2. Use some sort of ActiveX object to compile a barcode label image,
then use another ActiveX object to remove the Header/Footer and
Margins from the IE printout. I have found ActiveX objects that can
compile the image, but have not found anything to block out the
Header/Footer and Margins.
View 3 Replies
View Related
Jul 20, 2005
I'm sure you all have seen how using the src argument in a script tag
is essentially the same as including the body of the script within
your page. For example:
<script type="text/javascript"
src="http://somepage.com/somead/show_ads.js">
</script>
Is there a way to capture the html output of that script and save it
to a variable or text file so that I can use a language like php to
parse it and look for certain words or phrases?
For instance, this particular url executes some javascript code which
produces an iframe on my page, but view source only displays the
script tag. Using innerHTML I can get the iframe code to print in
another browser window, but I would prefer the iframe html be save to
a variable or text file so that I can write a script to parse it on
the fly.
View 1 Replies
View Related
Sep 10, 2011
I am new to this forum and also not a javascript coder. That said, I have a webpage that uses a freeware compiled javascript that displays the number of users current on line.
It works fine. But I would like to capture the output value as a variable that could then be used later. The code below displays the current number of users.
Code:
<script language="JavaScript" src="/cgi-bin/online/online.cgi?output=javascript"></script>
View 8 Replies
View Related
Mar 6, 2009
I would like to know if it is possible to create a script to use in a webpage for output the title <a href="[url].....types.html">TITLE</a> BUT not the link itself = [url].... or http:
[url]......It is a website (it it not mine) where the user input your data in a database being output as html page.
View 10 Replies
View Related
Jun 22, 2010
How I would output the day as well in this
[url] world clock example?
View 6 Replies
View Related
Nov 3, 2006
I've got the following page below. Instead of the function writing to textfields, I want to write to span tags, which will be blank to start out with, then populate with the data after the function runs. This should be simple, but I'm not getting the syntax right for some reason. Here's the page: Code:
View 5 Replies
View Related
Mar 18, 2009
Does anyone know of a way to retrieve the output of a webpage and place the output in the current web page (not using iframes)?For example, here is a simple web page (test.html):
<html>
This is just a test
</html>
I would like to take the output of this page and insert into my current page:
<div id="test">
This is just a test
</div>
View 1 Replies
View Related