AJAX Document Viewer
Aug 10, 2007
I'm looking around for an AJAX type control that can take image versions of documents and display and manipulate them within a page and preferably degrade gracefully when Javascript is switched off. The sort of thing I'm looking for is similar to the flashpaper viewer, except not in flash.
View 4 Replies
ADVERTISEMENT
Feb 15, 2012
I want to make an Twitter like AJAX post viewer like if we click on any link, it opens in a new sliding div like Twitter's.
View 1 Replies
View Related
Sep 17, 2010
have 4 tabs which are loaded via AJAX, 3 of them from external html files. Within these tabs I have a number of images in a gallery.When the page is loaded initially, the Fancybox works fine, but when I click on another tab, ie pull in external content, and click on an image it loads in another window.Seems like the new content pulled isnt hooked up to the Fancybox trigger..in right direction.The code is detailed below, I need some kind of call on the AJAX to trigger FB???
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code]....
View 6 Replies
View Related
Nov 7, 2007
I am looking for a Javascript program which will display a thumbnail view of
all the images in a particular folder.
If the user clicks on one of the thumbnail images then a larger view of the
image will be displayed.
I am presently using a forward/backward type of viewer.
The code I am using requires all the image file names to be named with an
ascending number as part of the file name.
For example ;
img001.jpg
img002.jpg
img003.jpg
etc. etc.
This scheme requires renaming all of the original file names, too much work
if you have lots of images and in addition it does not display thumbnails.
Can anyone point me to a better piece of Javascript code.
The Javascript code I am looking for should accept a folder name and should
not require renaming all the original images.
View 2 Replies
View Related
Jan 12, 2006
In this viewer, I need to have the focus go back to the main page after a selection is made. Otherwise, the user may scroll his mousewheel and change the selection. I forget just how.
<body>
<select id="viewer" onchange="song()" size="1">
<option value="none">::::::::::::: Choose Your Video Here :::::::::::::</option>
<option value="x/wmv">Video 1</option>
<option value="y.wmv">Video 2</option>
<option value="z.wmv">Video 3</option>
</select>
</body>
View 8 Replies
View Related
Dec 15, 2010
I was wondering I really like the image viewer Gamespot uses.example:[URL]Anyone know how to make one like that?
View 8 Replies
View Related
Jul 9, 2002
I wrote this a long time ago and it seems to get posted in the forums quite a bit so I figured I post it here for easy reference:
<script language="Javascript" type="text/javascript">
<!--//
function imageView(imgFile,imgTitle,imgWidth,imgHeight,winPosX,winPosY){
preview = window.open("","","resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no,width="+imgWidth+",height="+imgHeight+",left="+winPosX+",top="+winPosY+"");
preview.document.write('<html><head><title>'+imgTitle+' - Click to close - </title></head>'
+'<body onBlur="self.focus();" marginWidth="0" marginHeight="0" topmargin="0" leftmargin="0">'
+'<center>'
+'<a href="java script:self.close()">'
+'<img border="0" alt="Image loading please wait...." src="'+imgFile+'" width="'+imgWidth+'" height="'+imgHeight+'">'
+'</a></center>'
+'</body></html>');
preview.document.close();
}
//-->
</script>
<!--// Parameter list as follows:
Image File
Title of Image
Width of Image
Height of Image
Window Position X coordinate
Window Position Y coordinate
//-->
Example of use:
<a href="javascript:imageView('images/australia08.jpg','Australian Limestone Desert',427,277,50,50)">
<img src="images/australia08thumb.jpg" width="84" height="55" border="0" alt="Click for larger image"></a>
If you want to use this download the attached text file instead of copying and pasting from the screen here. The forum keeps putting spaces in the coding when copying and pasting causing the script to have an error.
View 5 Replies
View Related
Jul 31, 2010
I've got the following simple image viewer code which works fine on Safari and IE, but doesn't quite work on Firefox. On Firefox, it shows just the first image, but doesn't change images when I click on the prev and next buttons.
<script type="text/javascript" <br />
function changeImage()
{
[code]....
View 6 Replies
View Related
Sep 7, 2009
Im after a "lightbox style" image viewer that I can put on my site. However, I dont want the popup functionality, I just want the ability to show an image, and when I hover over than image, see buttons for next previous image.
Is there an existing script that can do this? I dont want to go down the flash route with this.
View 1 Replies
View Related
May 1, 2006
If I have a div in a document containing ordered lists (ul,li etc) and I use AJAX interaction with the server to modify the content of the div without page refresh, am I right in assuming that I cannot inspect or manipulate this new content using document.getElementById and similar methods of working with the document object? Or is there some way to do this?
View 8 Replies
View Related
Feb 12, 2009
I am using the Overlap Image Viewer in which case has worked out perfectly except for one small thing, it pops up very quickly.
View 6 Replies
View Related
Mar 21, 2010
display the viewer's geographic location? How do I?
View 1 Replies
View Related
Jun 19, 2011
I haven't used jQuery before (don't know JS either), but am building a site with a slideshow image viewer "Cross slide" [URL] and it seems simple enough for a newbie.
I have the files for the plugin, jquery.min.js. and jquery.cross-slide.min.js inside my root folder. I think i'm doing everything right but am getting error messages in the FF error console:
Error: jQuery is not defined (this is associated with the closing bracket and parentheses in blue below) Error: $ is not defined
Also, about my images: Is the script currently written to know to look in my "images" folder for them or do I need to change something? i.e. { src: 'images/home_image1.jpg' },
[Code]...
View 3 Replies
View Related
Mar 10, 2010
I was wondering if anyone has figured out a near-perfect way to check if the client has all the elements fully loaded? Not talking about all the css and text loading and the event triggers while the client is viewing images load: I mean the event auto-triggers after all the images are fully loaded, along with the css, text content, etc.
(P.S. Not talking about AJAX. Literally when somebody visits a page itself, the elements all completely load first, then the event fires.)
View 4 Replies
View Related
Sep 7, 2010
My client currently has a Flash book reader on his site that provides a UI for reading a book.Each page of the book is a GIF, and there are hundreds of books available.Now, my client would like to change this reader, and I've convinced him to let me rebuild the reader in jQuery.The hiccup is that, for copyright reasons, the images of the pages in the book must not be downloadable or accessible in the source code.(In other words, there shouldn't be a way to steal the book other than taking a screenshot of every page.)I want the reader to be powered by jQuery, it is, by definition, in-browser.
View 9 Replies
View Related
Jun 25, 2011
I want after send a comment, that message submit online and insert to database, Without Refresh Page. In this code, $.ajax function worked , but success: function(html) does not work(document.getElementById). I do not know why it does not work!? What do I do?
[Code]...
View 7 Replies
View Related
Nov 16, 2011
In my script there are two document.write lines. The problem is that when I call it from my ajax page it replaces the entire body and the page disappears.
Is there a way to call this in an ajax page?
View 5 Replies
View Related
Jul 3, 2011
So I can't for the life of me understand JSON. I've looked through numerous links but nothing. If I have a Database and all I want to pull is:
How do I print that out to an HTML document using JSON. I don't get it. I think it puts it in an array but how does it get there? Do I just print it out like I would a normal javascript array? If this isn't quite the right place to post this I apologize but there wasn't an AJAX section.
View 4 Replies
View Related
May 13, 2010
I am having trouble setting window.location.hash within a ajax request.
This is what is in the ajax request:
post.php
Code:
<?php
if ($_POST['page'] == 1) {
echo '<script type="text/javascript"> window.location.hash = "#page1"; </script>';
[Code]....
It does not change the hash, i have tried document.location.hash as well.
View 2 Replies
View Related
Apr 17, 2009
I have a web application that has a few div tags in the base index.html and calls a java app for the output to the div tags. All is working ok, except when I try to format a ms-excel document as output from the java (to the div tag). If I invoke the java app directly in a web browser, the excel popup window comes up and my output goes to an excel document. However, if I invoke the java app (using Ajax request/response) I get the output to the div tag and the excel popup does not come up. Is this something special/different I need to do when using a div tag/Ajax?
View 2 Replies
View Related
Aug 20, 2010
Here's my problem code:
document.onclick=handler;
function handler(e) {
//do stuff
var params = "something";
var request = new XMLHttpRequest();
request.open("GET", "http://www.foo.com/bar.php?" + params, true);
[Code]....
Now is user clicks something else but not a link everything works just fine. But if she clicks a link, the bar.php call does not work (never comes to the server). If I change the call to a synchronuous one request.open("GET", [URL] false) also clicking a link works fine. But I would of course prefer the async way.
View 3 Replies
View Related
Jun 16, 2009
I have a webpage (on a Drupal website) which is currently using the jquery tabs javascript. Each tab dynamically loads content through an Ajax Call.Drupal has a javascript file called tabledrag.js which allows the users to order the elements of a table by dragging them up and down in the list and this will reflect the elements position when you submit the form. When the content of the Ajax tab loads, I need the document.ready code (or drupal.behaviours, the equivelent) to fire off.However, this code has already fired when the page first loaded, as opposed to the content inside the ajax tab. How can I force reload the tabledrag.js so that it will re-run its document.ready behaviour?
View 3 Replies
View Related
Sep 2, 2010
I have been trying to run two Javascripts within the same page. The first is the Drop down menu Javascript, the second is the Picture Viewer (Click an image and it opens) Here is a copy of the webpage (the active version has been modified to reduce confusion for users) [URL] I have tried a noconflict, but it didn't seem to work. As you can see, the Picture viewer works fine, but the drop down menu seems to be in conflict.
View 16 Replies
View Related
Mar 19, 2008
I'm new to Javascript but not new to programming.
I find JS more time consuming because I have to manually search line by line for a single error. In C++ or C the compiler tells me the exact line number of the error or at least what the error is so I can research it.
With JS, notepad or Firefox's source viewer doesn't indicate anything. Is there any software available that will error check JS codes?
View 7 Replies
View Related
Apr 14, 2010
I want to create a interactive map viewer likeGooglemaps using my own custom map image. On clicking a location on the map, a small popup displayed showing some data. I aslo want a zooming and panning functionality. note that i am using aLinuxserver. The application must not use flash.
View 1 Replies
View Related
Apr 19, 2011
I'm using the following code
$(".photo img").click(function(){
var title = $(this).attr("title");
$("#display").attr({src:"photo/"+title+".jpg"});});
$("#display").css({"marginTop":"-233px"});
[Code]....
When the page first loads, something goes wrong and your first attempt at viewing any thumbnail always comes up with a blank missing image - but from that point onwards, any subsequent attempts work as intended.
View 1 Replies
View Related