Free Up Memory In Full-window Slide Show?
May 13, 2010
I'm working on a slide show that can fill the browser window. It has a similar scrolling thumbnail navigation as Flickr, but it is made with JavaScript. So, the big problem is memory usage. To have images that will fill the browser window their sizes are around 100+KB, and there are some slide shows that have over 200+ images.
I have tried removing the images from the DOM, I've tried using Ajax but the JavaScript engine's Garbage Collector seems to do nothing, until I refresh the page.Does anyone have any idea's on keeping the memory usage down?
View 4 Replies
ADVERTISEMENT
Mar 9, 2010
I prefer jQuery over flash and not sure how to tackle this, so please advise as best you can. Trying to create a site that allows for images to go full browser and then have the ability to have the other images slide in based on a click.
I also want to float a menu that will allow it to pull in other media (video, that would slide in the same way). The best example I can share is this: http://j.mp/5U79i1 What he is using is flash based (slideshowpro director and slideshow pro for flash). Not interested in flash for this personal project.
View 2 Replies
View Related
May 13, 2009
I found a sample java script for a slide show.
I'm trying modify it to show four pictures at a time.
And links to youtube videos
I really have no clue what I'm doing, I'm just changing stuff and seeing what happens. Yeah, I'm surprised I got this far.
What I need to learn is:
< how to assign and change the other three pictures.
< how to change the embeded image link.
Here is what I got so far: Slide show of Movies
And here is the code:
View 6 Replies
View Related
May 25, 2011
I have an onClick event ( showEvent(event) - "ajax") which after a short delay calls another event ( showEvent2(event) - Iframe ). Can someone tell me if it is possible to code this that second event ( showEvent2(event) - Iframe) is shown only after it is fully ( 100% ) loaded.
function showEvent(event) {
Lightview.show({
href: 'redirection-notice.php',
rel: 'ajax',
[Code]....
View 4 Replies
View Related
Aug 8, 2010
I have a problem on my wordpress blog that is integregated with a 3rd party shopping system. What I'm finding is that the Image Slide Show will not show up on the product page but will show up on other pages. obviously there is some conflict but I don't know where.Example: here is the product listing page while in the header the slide show seems to work fine.Now here is the page if you select one of the t-shirts but as you will see the image slide show in the Header vanishes?
View 2 Replies
View Related
Dec 16, 2009
I have a page, which is actually a photo gallery with a table having 3 rows. First row shows the full screen size pic. Second row displays the Caption of that image and third row shows thumbnail view of six different images and the previous and next button.this is the sample layout:
<table>
<tr>
<td colspan=8>
[code]...
My requirement is whenever the user click on the thumbnail view, which is in the 3rd row, the corresponding full screen size pic should open in 1st row of the table.As my photo gallery should be having more than 6 pics, lets take 20 pics, I want to show only 6 thumbnails in 3rd row at a time. Whenever user press "Next" button the 3rd row having 6 thumbnails should show other 6 thumbnails and previous button should show previous 6 thumbnails.
View 10 Replies
View Related
Jul 23, 2005
What do I put in the javascript code to popup a window full screen?
View 2 Replies
View Related
Jul 23, 2005
I have an asp page which just displays some information to a user few
a couple of seconds before redirecing.
This asp page is displayed in a small window.
I am using the following META tag to re-direct, but I want the next
page maximised.
<META HTTP-EQUIV="refresh" CONTENT="2;url=JobSheet.asp">
How can I get JobSheet.asp to open fullscreen from this code, whilst
closing the small window ?
View 1 Replies
View Related
Sep 20, 2007
I found many method is about opening new window in full screen, but not change the current window to full screen, so it is possible in fact?
View 4 Replies
View Related
Jul 23, 2005
Here is what I wish to do:
Click on a PDF link and have it open as a full screen window - not as
a predetermined size.
Sounds simple?
I want to run the command from within the href only. I don't want to
have to create an HTML page for each PDF file.
This is the link.
<a href="pdf-PPT/05_70857_PPT30x80.pdf" target="_blank"
on=0,directories=0,status=1,titlebar=1,menubar=0,s crollbars=0,left=0,top=0,screenX=0,screenY=0');
return false;".....
View 7 Replies
View Related
Oct 21, 2010
I'm creating a full-screen window in javascript. I"m not interested in debating whether or not a full-screen window is good or not, or any of the other philosophical diarrhea, I just need an answer to getting rid of the scroll bar... Trust me, in this case it NEEDS to be full-screen and it SHOULD NOT have any scrollbars. This is being done on a PC running Windows 7, 64-bit, IE 8, and EVERYTHING is up-to-date. The window gets created fine, but there's an empty scroll bar on the right side. ALL I want to know is how to get rid of the scroll bar so this works AS STATED IN THE DOCUMENTATION......
[Code]...
View 2 Replies
View Related
Mar 26, 2009
First the code:
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<script type="text/javascript">
function TextScroll(scrollname, div_name, up_name, down_name, top_name){
[Code]...
When I use mouse wheel in Firefox to scroll contents of the DIV, memory usage in Firefox goes through the roof. Code above is a fully working page, if anyone would like to see what's up, just load it up, and start moving your mouse wheel in the area with text. You don't actually have to scroll the text, just moving the wheel back and forth in that DIV will do. Memory usage will start going up quite fast, and after you stop moving the wheel, it will finally come down a bit after a short while. I've highlighted in red the line where mousewheel event is registered for Firefox. I'm not sure if it's really a problem, but since Opera and IE don't have any strange memory usage, and Firefox does, maybe I did something wrong. In everyday use it shouldn't matter [don't expect to have kilometers of content to scroll], but anyway, it is a bit unsettling.
View 2 Replies
View Related
Oct 11, 2010
I need to display a set of images. NOT a slideshow that automatically changes, but a very simple display, one image at a time, that moves to next or previous by mouse click or arrow.
I can retrieve the set of filespecs in php with no problem. And I've got the setup in php to display the file, one at a time.
I"ve figured out how to open a full-screen window in javascript.
What I need (I started in php and they sent me over here for specific javascript info), is to put everything together...
1. I'd LIKE to automatically set the resolution on the system to 1024x768. I've been told html and javascript can't do that, so it'll have to be done by the user.
2. I figured out how to open a full-screen window in javascript.
3. What I need is to display the image from php and have it show up in the full-screen window I created. Then it just sits there until the user presses an arrow key (or hopefully something with the mouse) to go to the next (or previous) image. Back to php for the next file and display...
Once the last image in the set is displayed I'd like to have the window I created go away, sending me back to the screen from which all that got started...
So, as far as I know, the two things I need to know are how to display an image in a particular window from php. And, how to get mouse-clicks and/or arrow keys back to php so I can use them....
View 3 Replies
View Related
Mar 29, 2009
I have a small dillemma I'm trying to solve involving javascript and I was curious if anyone here might be able to tell what the issue is. I'm redesigning my portfolio, and I have a page that involves popup windows, which can be seen at www.souledesign.net/final_site3/portfolio_flash.html. When I click on an icon, it pops up a window successfully. However, the height value I have inputted for the window is ignored, and the window automatically sizes itself vertically to the full height of the web browser.
The code that I've placed on the button that pops up the javascript window looks like this:
href="javascript: void(0)"
onclick="window.open('adbanner1.html', 'realestate', 'width=496', 'height=70')"
This should open a simle XHTML document sized to 496x70px, containing a Flash movie that is displayed using swfobject javascript. unfortunately, the window ends up resizing itself to a height that fills up the entire page rather than properly sizing to 70 pixels.
View 2 Replies
View Related
Jul 21, 2010
I have an emagazine i want to add to my website, the probelm is when it opens in a browser you have to sroll down the page, to view it all, what i was wondering is, is it possibe to create a link that when somebody selects to view the magazine it forces the browser to openin full screen mode so that it fits niely on the screen without the toolbars and evertything taking up half the page.
View 4 Replies
View Related
Jun 16, 2010
I so far have a scrollable image gallery of some thumbnails, I now wish to be able to click on the thumbnails and it load the corresponding full sized image with the website and everything else behind it being darkened/dimmed.the xhtml is structured like this so far, with no links to the full size images
<div class="sc_menu">
<ul class="sc_menu">
<li><a href="#">
[code]....
View 2 Replies
View Related
Aug 9, 2011
I have a site that I'm building at [URL] which use the jquery cycle plugin for a slideshow. I won't post the code here because it's all there with view source at the above address. It's a work in progress. The slideshow is full width (the images in it are actually 2000px wide but looks full width), and works fine apart from when the browser window is resized. This is most noticable when you start with a smaller browser window and then resize it to be bigger.
The slides stay the same width as when the page loaded - I need them to adapt to the new width. I need the slideshow to be centered at all widths, so I've put the images in as backgrounds to divs with center positioning on them. I've tried getting the window width on resize and then applying it to the slides using jQuery, but the original calculated size overrides it when the slide changes.
View 1 Replies
View Related
Jul 23, 2005
Anyone could give me some leads on where to find a javascript program
to make an automated slideshow with pictures located in an specific
directory? What I mean is that I do not wish to specify specific
pictures, but just tell the program to use all the contents (*.*) of
a specific directory.
View 2 Replies
View Related
Jun 9, 2005
Whats the easies way to add captions to a slide show.
I have the basic slide show format with images in an array and having them get cycled through via a function like chgSlide(-1) or chgSlide(1).
I can' easily add the captions to an array. I'm not sure how to print the captions on the page. I could use a text box but thats lame.
How could I print these on the page as each image is updated in the slide show?
View 8 Replies
View Related
Dec 29, 2010
My slide show seem to not be initializing I used a base from [URL] and tweaked it around to be exactly what I need and it won't start.
here is my js
var interval = 1500; //1.5 secs
var random_display = 0; //goes in order
//defines where the images are stored
[Code]....
View 1 Replies
View Related
Nov 6, 2010
I have to include:1) 10-20 pictures2) a title that is displayed at the top of the page3) the file name of the current picture4) a drop down list that allows the user to ynamically change the background color. Black (default), red, green, orange, brown, and blue.5) Right under the pictures there should be five clickable images for first, previous, next, last and random. 6) I can use any images for the above described buttons.7) The slide show should rotate through images whenever border conditions are met. For example, if the next button is clicked on the last picture, then the first picture in the deck should get loaded. Alternatively, if the previous button is clicked on the first picture, then the last picture in the deck should get loaded.8) When the random button is clicked, a random picture must be selected. A randomly selected picture must be different from the current picture.9) Each button must display a tool-tip when the mouse hovers over the image. 10) CSS for all formatting.11) Javascript code in separate file.So far i have:
<script type = "text/javascript">
function loadPicture() {
var img = new Image();
[code]....
View 2 Replies
View Related
Apr 14, 2011
For some reason, the slide show at this link will not work in Firefox, but works in IE, Chrome and Safari. Any ideas on why its buggy.
View 2 Replies
View Related
Jul 23, 2005
I would like to make a slide show using random images. The problem is my
host is 250.com, and they don't support cgi-programs. Is there another
way to accomplish random images?
View 9 Replies
View Related
Oct 18, 2011
I am using some excellent code for a photo slide show from ..
The way this slide show gallery works is there are mulitple list items in an UL and within each list item is an image. sequentially one list item has the class .show and this changes the css of that list item so opaque is set to 1. Making it visible. A timer determines when the list items change so the next list item within the hierarchy has .show. Once is reaches the last list item, it goes back to the first item.
The problem I have with my code is that when the page first loads up, the first image displays briefly before changing to the second image. After this happens, the slide show behaves correctly.
In bold are the the important lines of code. First I use jquery to assign .class to first list item. The second line of code in bold is a conditional statement. If no image has .show, assign it to the first list item. This is when the code doesn't work as intended.code...
View 1 Replies
View Related
Aug 9, 2011
have set up a simple slide show within a table to present as redesign option on home page for a new client. The SS is working fine but the rest of the content that follows in rows beneath are not showing when the page loads. They do appear when you hit refresh. what's blocking the load. Here's the link to the test page:[URL]
View 2 Replies
View Related
Jan 25, 2007
I have the follwing slideshow and would like to know if it is possible to add a url to the images.
URLs to add: /html/technical.asp
/html/books.asp
<script>
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 10000
// Duration of crossfade (seconds)
var crossFadeDuration = 3
var Pic = new Array()
Pic[0] = '/html/images/technical-files.gif'
Pic[1] = '/html/images/reference-books.gif'
var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
}
function runSlideShow(){
if (document.all){
document.images.SlideShow.style.filter="blendTrans(duration=2)"
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.SlideShow.filters.blendTrans.Apply()
}
document.images.SlideShow.src = preLoad[j].src
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}
</script>
View 3 Replies
View Related