Top Of Page Code NOT #top
Sep 13, 2004
I have tried using the code #top in the a href so that users who are at the bottom of a long page cad pop to the top easily, but it isn't working properly, beause the pages are generated after the first / so it just goes back to the homepage...
View 3 Replies
ADVERTISEMENT
Mar 23, 2011
I am trying to make a gui for clients to edit a php page that displays html and javascript.
I want the user to be able to move html elements around and even edit it like add effects like fade in and out etc.
Then after all the changes I want to overwrite the existing php file that does this for that user. how can you make such changes and then save it to a file?
It's an html / javascript editor but using a gui instead of allowing them to directly touch the code. It would be a security risk if I allow such a thing. So I need to program a interface that would make such changes and save them to file.
Like how can you delete and add new javascript code to the file?
View 3 Replies
View Related
Oct 25, 2011
I can not this code in my web page. Could you please check it ans say how I can run. I try the code using html test page but failed.
<script language="javascript"><!--
document.write('<iframe src="http://www.juenpetmarket.com/moduls/banner/banner_reklamiframe.aspx?
[code]....
View 13 Replies
View Related
Mar 13, 2011
Based on the lack of responses to the last hole (which I am attributing to one of the following:
a. The hole being too difficult,
b. It being overly time consuming, or
c. People not wanting to do it)
I have decided to take a step back for this hole.
Create a Javascript include function. This function should include a javascript file (when given a URL) into the current page assuming it wasn't already included in the page (either via the include function call or by HTML). If the file is already included the function should just return.
This function should either take a file name/ path to file or a full URL as a parameter. If it is a filename/ path the function should include the file from the base URL of the current site (such as [url]). If it is a full URL just include it.
Make sure you don't allow files to be included multiple times, we don't want that!
View 3 Replies
View Related
Jul 27, 2009
Using the following code example from Scott Robbin, which simply allows for separate html pages to slide in and out of the one screen, I wanted to expand this by sliding in some DHTML.
Here is the page-sliding code used: [url]
DHTML animated code: [url]- [url]
But, at best, only the images show, placed still and next to each other. As you will see the DHTML is a rotating set of imagery. Something in the page-sliding code seems to be preventing that DHTML animation from displaying as it should. Like I said the images will be recognised, but they don't display - I've even tried hard linking to the images.
Here's my page: [url]
Here's the page which I have on my server, the one I would like to have slide in: [url]
To see the sliding animation click the bottom "What cachet does" option that slides the right hand pane in.
View this message in context: [url] Sent from the jQuery General Discussion mailing list archive at [url].
View 2 Replies
View Related
May 12, 2011
I have a single webpage that contains information on all 50 U.S. states. There are 50 links at the top to jump down to the state you want, and at the bottom of the information for each state a Back to Top link.
I'm making the Back to Top link into something more complex, and it will require three or four lines of code.
So that I don't have to repeat the code 50 times, and create a burden when I need to edit it, I want to place it in a .js file and call it x. Then below the information for each state I'll simply have:
Does calling code from a .js file 50 times slow down the page load? Which method would load faster?
View 3 Replies
View Related
May 12, 2009
I am building my first webpage in HTML, and I needed to use javascript for the slide show, so i used a code for the slide show from codelifter. I like the slide show, but I need to do more then 1 slide show on the same page so I was wondering if I could just do two different slide shows using the same code, just copying and pasting it with different images. But I have a feeling that wont work since the images are loaded in the head. Also my second question is how I make my slide show a link, like where you click on it and it will take you to a separate page I make... is it similar to adding a href codes? I know a good amount of html (not everything but enough) but I dont know much about javascript. Here is the website: [URL]
View 1 Replies
View Related
Jun 6, 2010
i have a javascript bookmark to log me onto my schools site[URL].. it works fine if the page is already open, but with using the link to open the page, it runs the remaning script before the page loads and it doesn't work. is there any way to fix this withou using setTimeout()
View 2 Replies
View Related
Aug 9, 2011
Basically, I have it so that when you click something, then it expands and then shows text. The part I am having trouble at is the text being a php include. Here is the line that works for pre-typed in information:
divbody.innerHTML = "Some random text here.";
Then when I want to do something like this:
divbody.innerHTML = "<?php include('widgets/products.php'); ?>";
Then the actual innerHTML comes out like this:
<!--?php include('widgets/products.php'); ?-->
It seems as if it is changing '<' and '>' to '<!--' and '-->' respectively.
View 3 Replies
View Related
Aug 22, 2010
For 2 day ago, i have re-read and re-write my code in first i have very very broken code execution in web in second :, i re write the code and in previewer browser ( i use mozilla 3.6.8) its work off line, but when i have implanting in web page, its not work, in 3rd, with mr.airshow support i have rewrite and it work on web page (thanks mr. airshow) but still in my mind, again :
Question :
1. Why the 2nd code can not execution in web page ?
2. How the code must be to load in web page ? Any rules ?
Here are the code :
View 2 Replies
View Related
Jan 9, 2012
I am using jquery to popupa calendar. I have done this on several pages with not problems this one page keeps claiming the error below. Message: Object doesn't support this property or method
[Code]...
View 5 Replies
View Related
Apr 19, 2009
Is there a function in javascript to get the source code of a page and contain it in a variable, or automatically obtain information from it in some way?For example, if I needed to get the title of a certain page, would I be able to somehow implement document.title to get the title of a webpage?
View 4 Replies
View Related
Jan 19, 2010
I need a way for a html page or something similar be able to determine what it's full path is. It must self-determine this. Any recommendations of what route I should take to figure this out?
View 2 Replies
View Related
Aug 2, 2011
My source :
<html>
<head>
<title></title>
<script type="text/javascript">
[Code]....
I want after newtab is opened 5s, alert window will be opened with message:"Loaded complete". Then 2s it is closed. But it isn't what I expect.
View 3 Replies
View Related
Sep 2, 2009
I have a file links .js. In it i have this code
Javascript Document
On another page, hazards.html i use this code to call that function
But it doesnt display, nothing does. What am i doing wrong?
View 1 Replies
View Related
Aug 15, 2010
How do I create a JavaScript script to save a web page's source code to a file?
Example: I will go to a website, it automatically from the web page's source code will be saved to a file.
View 4 Replies
View Related
Jan 18, 2011
i have see some site which is using very new method of emedding videos in pages i have the code of page any body can tell which method he is using and where his basic embed code & how can i hide like this
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[coe]...
View 8 Replies
View Related
Dec 2, 2010
I have a jsp which has a function gets called during the page unload. This jsp has a form with an action attribute to one servlet.
below the code snippet.
---- Java script code ---
function logoff() {
document.forms["FormName"].target="_self";[code]...
But this resulted in script error while loading the page "object does not support this method or property" at line where document.observe is there.
View 1 Replies
View Related
Mar 14, 2011
How can I embed Perl code within a web page? I want something like:
Code:
<script language="perl">
perl commands here
</script>
I know how to run Perl CGI routines from an HTML link. That is not what I want.
View 3 Replies
View Related
May 17, 2011
I'm wondering, I've looked at several examples of this, but none seem to work. I can get POST functions to work (posting data to a certain URL is no problem). However, I can't get the source code of a page. Here's the function I've got so far:
Code:
I'm wanting to use this to use certain settings in the script on my web site that I have stored on another page. The usage is like this:
Code:
And then googlesource should be populated with the source code of [url]. Just an example. why the above function is not working? I've tried messing around with all kinds of request headers and everything.
All the function returns is "undefined".
View 5 Replies
View Related
Jun 11, 2011
I am developing an application and need to be able to use either JavaScript or PHP to request a page, add code to the end of it, and thenopen it for the user.What I want:
Code:
// JavaScript
/* Get page */
[code]....
View 2 Replies
View Related
Sep 1, 2011
I have found a great bit of javascript that I want to use on my site but I want to use it three times on the same page. If you look at [URL] you see three pictures at the bottom I want to make them change but the first only has four images the second has five and the third has three so I want to use the same code below on them all separatly.
Code:
<script type="text/javascript">
// Flexible Image Slideshow- By JavaScriptKit [URL]
// For this and over 400+ free scripts, visit JavaScript Kit-[URL]
// This notice must stay intact for use
var ultimateshow=new Array()
//ultimateshow[x]=["path to image", "OPTIONAL link for image", "OPTIONAL link target"]
ultimateshow[0]=['images/rotate/tattoos/main-tattoo1.jpg', '', '']
ultimateshow[1]=['images/rotate/tattoos/main-tattoo2.jpg', '', '']
ultimateshow[2]=['images/rotate/tattoos/main-tattoo3.jpg', '', '']
//configure the below 3 variables to set the dimension/background color of the slideshow .....
View 7 Replies
View Related
Sep 27, 2011
I am looking for a code to redirect visitor if they are visiting my actual page. I iframe part of the page on another page, so I want it to be visible, but if the user visits the page that is being iframed it will redirect them back to the original page where that page is iframed at?
View 4 Replies
View Related
Jan 19, 2010
Is this possible?
Let me clarify: I need a way for a html page or something similar be able to determine what it's full path is. It must self-determine this.
View 2 Replies
View Related
Jun 14, 2011
In the Portfolio Module of Business Catalyst (see this page: Portfolio, I have the thumbnail of the websites and when clicked it enlarges with the description underneath. However, I would like the description to actually be a link that when clicked will take the visitor to the actual website depicted in the image. I tried to surround the text with the <a href> tag, but the code actually appears on the page.
[Code]...
View 6 Replies
View Related
Jul 23, 2005
Is there any way to embed the included code snippet in a function (in the case where it is not already a function in the remote souce file)?
View 8 Replies
View Related