repeat

background image not repeating in IE...

This should be real simple...not sure what I'm not seeing here...the background image repeats just fine in non-IE browsers but fails to in IE8. site: http://www.erisdesigns.net/Stage/McCampbellInsurance/index.html #wrapper { max-width:100%; min-width:1000px; min-height:100%; margin:0 auto; background-image:url(image...

How would I get this odd table from XSLT?

Using this input XML: <?xml version="1.0" encoding="utf-8"?> <Employees> <Employee ID="1"> <FirstName>Klaus</FirstName> <LastName>Salchner</LastName> </Employee> <Employee ID="2"> <FirstName>Peter</FirstName> <LastName>Pan</LastName> </Employee> </Employees> How would you get this output: <Employee...

Cocos2D iPhone Repeating Buttons

Hello. Using Cocos2D, is it possible to create a button which constantly triggers when being touched, instead of triggering just once? I'm happy to have a timer which does the repeat trigger, so I guess another question is can I use a touch removed with a Cocos2D menu button? Cheers. :-) ...

How to repeat some action certain times on Vim?

In Vim, I usually want to repeat some series of commands some times. Say, I want to comment 5 lines, I would use I//<Esc>j .j.j.j.j Is there any way to repeat the last ".j" part several times? ...

Execute action when an animation is repeated in Android

I'm trying stuff with android animation and I would like to know if there is a way to execute some code every time an animation is repeated? I looked at the google doc but didn"t find any method to do that... ...

Jquey vertical list slider wont repeat more than once

I have a vertical slider that works well except when it needs to scroll more than once. view slider This is the code $(document).ready(function() { var speed = 1050; var elementHeight = 106; var countElements = $('#portfolio-navigation ul li'); var numberElements = countElements.length; var totalHeight = numberElem...

Repeat string to certain length

What is an efficient way to repeat a string to a certain length? Eg: repeat('abc', 7) -> 'abcabca' Here is my current code: def repeat(string, length): cur, old = 1, string while len(string) < length: string += old[cur-1] cur = (cur+1)%len(old) return string Is there a better (more pythonic) way to do this...

How to repeat a few characters a few times in bash?

In a bash script, I have to include the same file several times in a row as an argument. Like this: convert image.png image.png image.png [...] many_images.png where image.png should be repeated a few times. Is there a bash shorthand for repeating a pattern? ...

iPhone: How to set repeat daily/hourly local notification?

I want to test add local notification. I want it repeat daily/hourly. How can I do that? NSCalendar *calendar = [NSCalendar autoupdatingCurrentCalendar]; // Get the current date NSDate *now = [NSDate date]; // Break the date up into components NSDateComponents *dateComponents = [calendar components:( NSYearCalendarUnit | NSMo...

Please help me shorten my code..

Hey guys, My question is to shorten repeating the process. Data1=dlmread('BadgCk-20001103-RZhS-1hAccumx10-TextData0-1.txt','\t',[31 1 286 255]); Data2=dlmread('BadgCk-20001103-RZhS-1hAccumx10-TextData0-1.txt','\t',[299 1 554 255]); Data3=dlmread('BadgCk-20001103-RZhS-1hAccumx10-TextData0-1.txt','\t',[567 1 822...

Can we create any general HTML Component ?

I have an HTML page. I have created a frame using background repeat function. It is like a dialog box as below : The HTML Code for this is : <html> <head> <title> Frame </title> <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript" src="frame.js"></script> <link rel="stylesheet" href="frame...

R. Zoo. Repeat the first day data through all the day.

Hello I have a zoo series. It lasts 10 years and its frequency is 15min. I'd like to get a new zoo series (or vector) with the same number of elements, whith each element equal to the first element of the day. That's, The first element everyday is repeated throughout the wole day. This is not same as aggregate(originalseries,as.Date,h...

How to read data from a repeated format of a large text file in MATLAB?

I want to read data of average saturation (%) for water as shown below. This data is a partial form of a large file, however the average water saturation (%) REPEATS itself in the given format only. Average Pressure Total Pore Volume psia 3884.9 ...

Repeat array to a certain length?

I'm having an array for example with 4 elements array("a", "b", "c", d"); what is the fastest way to repeat this array to create a new array with a certain length, e.g 71 elements? ...

CABasicAnimation Repeat itself

I have a CABasicAnimation that I perform on multiple layers and all it does is move the UIImageView up 10 pixels and then back down. I want this to continue ad infinitum. When the animation finishes I can't figure out how to get it to do it again! I understand theres a animationDidStop method but that doesn't solve my problem because I c...

iPhone AVAudioPlayer - play WHILE clicking, stop on lift of finger

Hi, I am using AVAudioPlayer and am trying to get it so while the user presses on the device, it continuously plays until their finger lifts up. My code is below: NSString *audioPath = [[NSBundle mainBundle] pathForResource:@"HahahaLong" ofType:@"mp3"]; primaryAudio = [[AVAudioPlayer alloc]initWithContentsOfURL:[NSURL fileURLWithPa...

Using paypal pro for repeat nonrecurring charges

Is there anyway to use paypal pro to allow a customer to make repeat purchases without setting up a recurring payment. The use case is a customer who does not have a paypal account enters payment info once for a purchase. When they return to the website, it would be nice if they didn't have to enter payment details again. This is poss...

phptal: how do I repeatedly add attributes?

Hello there, I got a phptal template question, I have an associative array which contains HTML attribute information, eg attrs['href'] = 'www.google.com'; attrs['id'] = 'the_link'; ... Is there a way to use the "repeat" to loop through my array and generate the attributes dynamically? (I know how to do it statically) so I can have ...

How can I return multiple identical rows based on a quantity field in the row itself?

I'm using oracle to output line items in from a shopping app. Each item has a quantity field that may be greater than 1 and if it is, I'd like to return that row N times. Here's what I'm talking about for a table product_id, quanity 1, 3, 2, 5 And I'm looking a query that would return 1,3 1,3 1,3 2,5 2,5 2,5 2,5 2,5 Is this possi...

Repeating iCal Events in AppleScript

How do I get all of the dates on which a repeating iCal event occurs in AppleScript? ...