I'm using this code right now: // JavaScript Document $(document).scroll(function(){ if($(document).scrollTop() >= 470) { $('div.slide-in-section1').effect('slide'); } }); And of course I did realize that whenever you scroll just a little more it will keep re-running this bit of code. But I figured I had a fix, which was this: // JavaScript Document $(document).scroll(function(){ if($(document).scrollTop() >= 470) { $('div.slide-in-section1').effect('slide'); $('div.slide-in-section1').delay(400).removeClass('slide-in-section1'); } }); But then literally nothing happened. So I'm figuring the delay is kind of being ignored or something... I don't know, just a guess. Anyways I'm just wanting a div to slide in when you scroll down to a certain …

Member Avatar
Member Avatar
+0 forum 3

Hi All, I have a game which I'm implementing parallax scrolling which is currently looping infinite. Is there a way I can pause the loop for x amount of time, or even stop the loop completely after x amount of time. Here a bit of my code so far: public Vector2 speed = new Vector2(10, 10); public Vector2 dir = new Vector2(-1, 0); public bool isLinkedToCamera = false; public bool isLooping = false; private List<Transform> bgPart; // Use this for initialization void Start () { if (isLooping) { bgPart = new List<Transform>(); for (int i = 0; i < transform.childCount; …

Member Avatar
+0 forum 0

Hey i want navigation menu with image ... It means that if in my manu there is 3 button home,serviceses,about us than when onmouseover on that text it shows images which i choose..this type of implemntation done by me.. But when images change there is no effect ... And i dont have brif knowlde about jquary so please help me regarding this.. And for more brief information here is my html file download and fix this problem... https://drive.google.com/file/d/0B6V-9RLYdFzeVUVQdzJyNnd1MEk/edit?usp=sharing

Member Avatar
Member Avatar
+0 forum 2

please follow this link and help me https://drive.google.com/file/d/0B6V-9RLYdFzeVUVQdzJyNnd1MEk/edit?usp=sharing visit html file and help regarding this proble

Member Avatar
Member Avatar
+0 forum 4

So i'm making an rpg game with c# and xna. How can I create a simple camera that follows the player as they move? I only wish for the camera to move as the player reaches the middle of the screen. I dont require it to rotate, zoom in/out like other tutorials I have seen. Any help or suggestions would be greatly appreciated!

Member Avatar
Member Avatar
+1 forum 3

Hey guys, Today I came across a **Beautiful** Webpage! Well atleast I consider it to be. I hope most of you might have heard of Ed-Vantage programme by Microsoft; this website is for students from India. http://www.microsoft.com/india/edvantage/student/default.aspx Please take a look at it. You will see the **pictures in the site move as you scroll**. I have seen similar one at [Acer Aspire R7](http://www.acer.com/aspirer7/en_US/) site. I have also seen some blogs that use a lake like background in which fishes seem to move while scrolling. I wanted to know how such animations are created as we scroll. I am a …

Member Avatar
Member Avatar
-1 forum 5

I am trying to make this table behave. I want it to stay within 80% of the page. I want each column to be a fixed width. I want it to show all without scrolling right. Its fine if it gets super long. I also want the title bar, with the column names... to always be on top, maybe they call that floating.. idk Can someone PLEASE help me clean this up ? Below is the CSS file... body { margin:10en; padding:0; height:100%; width:80%; text-align: center; margin-left: auto; margin-right: auto; } #container { min-height:100%; position:relative; height:100%; } #header { background:#009900; …

Member Avatar
Member Avatar
+0 forum 3

I have been working on a new website that scrolls 100% height/width panels one at a time. The panels are under a fixed header, and are wrapped with `<div id="container></div>` I am, however, having some trouble implementing the javascript. Once setup, the page should issue allerts with each mouse scroll in the Chrome console. (F12 - console). Yet, it doesn't output anything. Here is the Jquery Code: var prevScrollTop = 0; var $scrollDiv = jQuery('div#container'); var $currentDiv = $scrollDiv.children('div:first-child'); $scrollDiv.scroll(function(eventObj) { var curScrollTop = $scrollDiv.scrollTop(); if (prevScrollTop < curScrollTop) { // Scrolling down: $currentDiv = $currentDiv.next().scrollTo(); console.log("down"); } else if …

Member Avatar
Member Avatar
+0 forum 1

I am trying to implement a JScrollPane, containing a JTextArea, whose vertical scroll bar automatically remains as the bottom when new text is added, if it is already at the bottom, and stays in place otherwise. I have found a solution that seems to work, except when I move the scroll bar to the bottom, it gets stuck there and can only be moved by dragging the scroll bar, pressing the scroll bar's up arrow and the mouse wheel do not work when the scroll bar is at the bottom. Both methods, up arrow on scroll bar and mouse wheel, …

Member Avatar
Member Avatar
+0 forum 4

Recently, i am seeing some awkward behaviour of my windows pc (which is a vista sp2). It can be said as a problem of automatic scrolling.What happens is when i try to increase the volume from the sound option in right hand side menu in taskbar, it automatically gets lowered and i am not able to increase the volume. In other cases like when i use my browser and try to fill a form on any website, previous form data cannot be accessed by me as it automatically scrolls down the form data list and list gets exhausted, hence closes. …

Member Avatar
Member Avatar
+0 forum 6

I'm trying to create some custom styles/control templates for WPF. The only control that seems to be giving be any issues (so far) is the ScrollViewer: <Style x:Key="{x:Type ScrollViewer}" TargetType="ScrollViewer"> <Setter Property="OverridesDefaultStyle" Value="True"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ScrollViewer"> <Border Background="#404040"> <Border BorderBrush="#808080" BorderThickness="1" Margin="4"> <Grid > <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <ScrollContentPresenter Name="PART_ScrollContentPresenter"/> <ScrollBar Grid.Column="1" Name="PART_VerticalScrollBar" Orientation="Vertical" Value="{TemplateBinding VerticalOffset}" Maximum="{TemplateBinding ScrollableHeight}" ViewportSize="{TemplateBinding ViewportHeight}" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"/> <ScrollBar Grid.Row="1" Name="PART_HorizontalScrollBar" Orientation="Horizontal" Value="{TemplateBinding HorizontalOffset}" Maximum="{TemplateBinding ScrollableWidth}" ViewportSize="{TemplateBinding ViewportWidth}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"/> </Grid> </Border> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> When I add a ListBox, and ~70 items (just ListBoxItems with …

Member Avatar
+0 forum 0

Recently i've been coding my own game, it was working fine up to a point but suddenly the backround is moving over the sprites drawn to the screen... I've loaded them unto the screen alright, and sometimes when i run they actually do come out on top. Here's my main: import pygame, motherWhale, scoreBoard, babyWhale, seaWorld pygame.init() def main(): screen = pygame.display.set_mode((640, 480)) pygame.display.set_caption("Bubble Battle") background = pygame.Surface(screen.get_size()) background = background.convert() background.fill((255, 255, 255)) screen.blit(background, (0, 0)) #pygame.mixer.music.load('') #pygame.mixer.music.play(-1, 0.0) #musicPlaying = True motherwhale = motherWhale.MotherWhale() babywhale = babyWhale.BabyWhale() seaworld = seaWorld.SeaWorld() scoreboard = scoreBoard.Scoreboard() goodSprites = pygame.sprite.Group(motherwhale, babywhale) #seaworld, …

Member Avatar
Member Avatar
+0 forum 1

I am trying to make a table scroll once it reaches the width of its parent element. In addition to this I want to make it so the `<caption>` does not scroll with the table (it stays fixed) and also the first column stays fixed. Does anyone know how to do this?

Member Avatar
Member Avatar
+0 forum 1

Hii, I had an application which suffers from crazy scrollbars. When textboxes are loaded with some array elements their scrollbars scrolls towards to the bottom of the boxxes.So the multiline textboxes looks as if they are empty !!! However, when i open an empty project to see if this situation repeats or not, its not ! The scrollbar always stays on the top. Ps. I ve already checked these situations : 1. Checked if any blank lines are appeared in the contents of the textbox. 2. Created a new multiline textBox to populate it with array elements. 2. Created a …

Member Avatar
+0 forum 0

i have 3 images, 2 are feather's images and 1 is text image i am trying to put these two feather images(which are in png format so to be transparent) in opposite corners as well as in front and 3rd text image should come from behind of the start of feather n scroll to the end of the other feather image(it should come and go behind the feathers, not above) as feathers have little spaces so i want to show that text is going benath the feathers and ends where feather ends i have attached a sample image please help …

Member Avatar
Member Avatar
+0 forum 7

I've got this scrolling marquee code to work on this page: [url]http://www.jamball.com/2011/07/club-teams.html[/url] [B]but it goes crazy in IE[/B]. [COLOR="Red"]I know IE sucks[/COLOR], but over 40% of our customers use it. Is there a way to fix the script, or must I scrap the entire idea? There is a table in the marquee that might be the root cause, but I don't know. Thanks in advance. [CODE]<style> a:hover img#im { width: 410px; border: 0px; } </style> <style type="text/css"> a#link2:link { COLOR: #000000/*The color of the link*/ } a#link2:link { font-size: 13px } a#link2:visited { COLOR: #000000 /*The color of the visited …

Member Avatar
+0 forum 0

Hi All, I try to make my caption text scrolling. Actually, i already make it scrolling but after the last letter it would appear all of text and scrolling again. I want the text scrolling one by one, after the last letter it following by the first letter. How i can do that? Any help would be appreciated. Thank you.

Member Avatar
Member Avatar
+0 forum 5

I am creating a scrolled frame object within Tkinter. My current approach is to have a frame embedded within a scrolling canvas. I have seen numerous examples of this technique but they have one common 'flaw'--the frame's contents are loaded and then the controlling canvas's scrollregion is set. In my case the size of the frame is unknown at the time of instantiation. I can get it to work by calling a class method to update the scrollregion but this must be done manually everytime the contents of the frame changes (i.e. widgets are added or deleted from the frame) …

Member Avatar
+0 forum 0

Hello everybody! I've found some solutions to colorize scrollbars, but the fact is that I need to redesign it with HTML & CSS if it is possible. So I don't really like flash, and my application needs a new scrollbar... So I was thinking to design a new one, and just like the divs, or others replace the style with background images. In case this isn't executable, does anybody know another solution? I only want to resolve this in HTML, CSS or JavaScript/jQuery (some codes with the images, horizontal and vertical positioning also or something), the web standards. Thanks for …

Member Avatar
Member Avatar
+0 forum 2

I have built a marquee of images that scrolls inside a cell of a table. The marquee width, of course, is dictated by the width of the cell. But I don't want the number of images that actually scroll inside the marquee to cut off based on the width of the marquee. In other words, if 5 images fit across the width of the cell, then the marquee scrolls 5 images. If there are 6 or more images, those images get cut off and the marquee loops back to the beginning of the list of images. Is there a way …

Member Avatar
Member Avatar
+0 forum 7

Specs: HP dx2300 -- XP Pro SP3 -- Logitech Trackman Wheel USB mouse (wired) Problem: Applications constantly scroll up and down (intermittently will stop for a period of time then start scrolling erratically again). This happens in all applications; FireFox, Notepad, Task Manager, etc. I have not changed anything in my hardware setup recently. Troubleshooting steps I have tried (to no avail): # Unplugged Trackman Wheel mouse and plugged it back in # Tried different USB ports # Rebooted computer # Took apart Trackman Wheel mouse and blew it out with compressed air (was not very dirty inside) # Unplugged …

Member Avatar
Member Avatar
+0 forum 2

The End.