My favorites | Sign in
Logo
iui
                
Details: Show all Hide all

Today

Last 7 days

  • Dec 11, 2009
    issue 202 (Back Button does not work in Chrome Frame on IE) reported by pticalgary   -   What steps will reproduce the problem? 1.When running iUi in Chrome - the back button works - in Chrome frame - it does not seem to work. 2. 3. What is the expected output? What do you see instead? It does not flip back. What version of the product are you using? On what operating system? The latest approved version. Please provide any additional information below. You can try it at www.wikiklu.com Problem may well be Chrome Frame - but it seems like a timing issue.
    What steps will reproduce the problem? 1.When running iUi in Chrome - the back button works - in Chrome frame - it does not seem to work. 2. 3. What is the expected output? What do you see instead? It does not flip back. What version of the product are you using? On what operating system? The latest approved version. Please provide any additional information below. You can try it at www.wikiklu.com Problem may well be Chrome Frame - but it seems like a timing issue.
  • Dec 10, 2009
    issue 201 (History issue (back button doesn't work)) commented on by char...@cableorganizer.com   -   I'm sure how to fix that, you told me that the iui behavior is good but I don't think so, cause the back button really doesn't work in my case. That's weird because when I enter a good password the back button works, it's just when the password is not good. And in both case the url is the same after submitting the form.
    I'm sure how to fix that, you told me that the iui behavior is good but I don't think so, cause the back button really doesn't work in my case. That's weird because when I enter a good password the back button works, it's just when the password is not good. And in both case the url is the same after submitting the form.
  • Dec 09, 2009
    issue 197 (No style for select boxes) changed by melcher.maximilian   -   looking into it, its form related so it should be included into 0.40
    Status: Started
    Owner: melcher.maximilian
    Labels: Type-Enhancement Milestone-REL-0.40
    looking into it, its form related so it should be included into 0.40
    Status: Started
    Owner: melcher.maximilian
    Labels: Type-Enhancement Milestone-REL-0.40
  • Dec 09, 2009
    issue 195 (The page slide does not work) Owner changed by melcher.maximilian   -   As far as I can tell the iui.js is not loaded at your page. You need both for sliding. Cheers Max
    Owner: melcher.maximilian
    As far as I can tell the iui.js is not loaded at your page. You need both for sliding. Cheers Max
    Owner: melcher.maximilian
  • Dec 09, 2009
    issue 201 (History issue (back button doesn't work)) changed by melcher.maximilian   -   there is a workaround for this issue - the behavior of iui is correct. The BackButton is pointing to the right page, you want it to be not the last page but a special page. You can use a workaround proposed in issue [#133], its just a small modification. If you need help with it, ask! Cheers Max [#133] http://code.google.com/p/iui/issues/detail?id=133
    Status: Invalid
    Owner: melcher.maximilian
    there is a workaround for this issue - the behavior of iui is correct. The BackButton is pointing to the right page, you want it to be not the last page but a special page. You can use a workaround proposed in issue [#133], its just a small modification. If you need help with it, ask! Cheers Max [#133] http://code.google.com/p/iui/issues/detail?id=133
    Status: Invalid
    Owner: melcher.maximilian
  • Dec 09, 2009
    issue 200 (ScrollTo improvement) changed by melcher.maximilian   -   That reads great - im looking into it! Cheers and thanks for sharing! Max
    Status: Started
    Owner: melcher.maximilian
    Labels: Priority-Medium Type-Enhancement
    That reads great - im looking into it! Cheers and thanks for sharing! Max
    Status: Started
    Owner: melcher.maximilian
    Labels: Priority-Medium Type-Enhancement
  • Dec 09, 2009
    issue 201 (History issue (back button doesn't work)) reported by char...@cableorganizer.com   -   What steps will reproduce the problem? 1. I have a form for login that looks like this (in account.aspx file): <form id="login" title="Account" class="panel" action="account.aspx" method="POST"> 2. When the password is not good, it will add a text inside the page "Bad password" (not in Ajax, it will submit the form, then ASP .NET will regenerate the page and add the text) 3. The back button doesn't work anymore after that. What version of the product are you using? On what operating system? iPhone 3.1.1 with iUI 0.4.0-dev1 Please provide any additional information below. I've tried to generate a random ID for each page generation, for example: <form id="login-2468705471" title="Account" class="panel" action="account.aspx" method="POST"> Then it'll work, but the thing is that if I send several times a bad password, I'll have to click on the back button too many time to go back on the homepage, the good thing would have been to click only once to go back, even if we miss 10 times the password. I've also tried to change the ID only when the password is not good, didn't work. Thanks for your help, Charles
    What steps will reproduce the problem? 1. I have a form for login that looks like this (in account.aspx file): <form id="login" title="Account" class="panel" action="account.aspx" method="POST"> 2. When the password is not good, it will add a text inside the page "Bad password" (not in Ajax, it will submit the form, then ASP .NET will regenerate the page and add the text) 3. The back button doesn't work anymore after that. What version of the product are you using? On what operating system? iPhone 3.1.1 with iUI 0.4.0-dev1 Please provide any additional information below. I've tried to generate a random ID for each page generation, for example: <form id="login-2468705471" title="Account" class="panel" action="account.aspx" method="POST"> Then it'll work, but the thing is that if I send several times a bad password, I'll have to click on the back button too many time to go back on the homepage, the good thing would have been to click only once to go back, even if we miss 10 times the password. I've also tried to change the ID only when the password is not good, didn't work. Thanks for your help, Charles
  • Dec 09, 2009
    issue 200 (ScrollTo improvement) reported by char...@cableorganizer.com   -   Hi, I would like to share one thing I've done in the iPhone website we are developing. I've found how to render a smooth scrolling effect here: http://www.itnewb.com/v/Creating-the-Smooth-Scroll-Effect-with-JavaScript The goal was to replace the ScrollTo() function. The modified code for iPhone is: function smoothScroll(){ var startY = self.pageYOffset; var stopY = 1; var distance = stopY > startY ? stopY - startY : startY - stopY; if (distance < 100) { scrollTo(0, stopY); return; } var speed = Math.round(distance / 90); var step = Math.round(distance / 30); var leapY = stopY > startY ? startY + step : startY - step; var timer = 0; if (stopY > startY) { for ( var i=startY; i<stopY; i+=step ) { setTimeout("window.scrollTo(0, "+leapY+")", timer * speed); leapY += step; if (leapY > stopY) leapY = stopY; timer++; } return; } for ( var i=startY; i>stopY; i-=step ) { setTimeout("window.scrollTo(0, "+leapY+")", timer * speed); leapY -= step; if (leapY < stopY) leapY = stopY; timer++; } } I replace all ScrollTo(0, 1) with smoothScroll(), and added one after the sliding effect to make the next page go automatically at the right location (so we don't need to scroll up). It looks a lot nicer like this (imho). Hope it can be useful ;-) Regards, Charles
    Hi, I would like to share one thing I've done in the iPhone website we are developing. I've found how to render a smooth scrolling effect here: http://www.itnewb.com/v/Creating-the-Smooth-Scroll-Effect-with-JavaScript The goal was to replace the ScrollTo() function. The modified code for iPhone is: function smoothScroll(){ var startY = self.pageYOffset; var stopY = 1; var distance = stopY > startY ? stopY - startY : startY - stopY; if (distance < 100) { scrollTo(0, stopY); return; } var speed = Math.round(distance / 90); var step = Math.round(distance / 30); var leapY = stopY > startY ? startY + step : startY - step; var timer = 0; if (stopY > startY) { for ( var i=startY; i<stopY; i+=step ) { setTimeout("window.scrollTo(0, "+leapY+")", timer * speed); leapY += step; if (leapY > stopY) leapY = stopY; timer++; } return; } for ( var i=startY; i>stopY; i-=step ) { setTimeout("window.scrollTo(0, "+leapY+")", timer * speed); leapY -= step; if (leapY < stopY) leapY = stopY; timer++; } } I replace all ScrollTo(0, 1) with smoothScroll(), and added one after the sliding effect to make the next page go automatically at the right location (so we don't need to scroll up). It looks a lot nicer like this (imho). Hope it can be useful ;-) Regards, Charles
  • Dec 08, 2009
    3 new revisions pushed by msgilli...@gmail.com   -   70d4b54684:Add checks for sessionStorage, localStorage and openDatabase b6bbee3419:Add placeholder files for enabling logging for GAE/Gaelyk 8354f90891:Add work-in-progress QUnit tests (a few basic test of simple iui.xxx() functions)
    70d4b54684:Add checks for sessionStorage, localStorage and openDatabase b6bbee3419:Add placeholder files for enabling logging for GAE/Gaelyk 8354f90891:Add work-in-progress QUnit tests (a few basic test of simple iui.xxx() functions)
  • Dec 08, 2009
    Roadmap (Roadmap for future iUI releases.) Wiki page commented on by msgilli...@gmail.com   -   Joe didn't say beta in October, I did, but that was 'tentative' as this is a volunteer project. There is a development pre-release of 0.4 available and it is pretty solid (over 3,000 downloads and few complaints). A new development release is coming soon. I've updated the Roadmap to reflect the 'slippage'. -- Sean
    Joe didn't say beta in October, I did, but that was 'tentative' as this is a volunteer project. There is a development pre-release of 0.4 available and it is pretty solid (over 3,000 downloads and few complaints). A new development release is coming soon. I've updated the Roadmap to reflect the 'slippage'. -- Sean
  • Dec 08, 2009
    Roadmap (Roadmap for future iUI releases.) Wiki page edited by msgilli...@gmail.com
  • Dec 08, 2009
    Roadmap (Roadmap for future iUI releases.) Wiki page commented on by msteuer   -   Hey Joe, You said 0.4 would be beta in October, live in November... I assume this has slipped or is 0.4 available somewhere? Thanks! Michael.
    Hey Joe, You said 0.4 would be beta in October, live in November... I assume this has slipped or is 0.4 available somewhere? Thanks! Michael.

Last 30 days

  • Dec 07, 2009
    issue 196 (missing xhr.setRequestHeader(header, iui.httpHeaders[header]...) commented on by msgilli...@gmail.com   -   I'm not sure which version of iUI you're referencing, but I assume it is 0.40-dev1. If so, shouldn't the loop on lines 139-142 add the header(s) via xhr. setRequestHeader() ?
    I'm not sure which version of iUI you're referencing, but I assume it is 0.40-dev1. If so, shouldn't the loop on lines 139-142 add the header(s) via xhr. setRequestHeader() ?
  • Dec 07, 2009
    issue 198 (digg demo. click <a> in panel <li> without href. an excepti...) commented on by msgilli...@gmail.com   -   I verified this problem with Firefox 3.5.5. It turns out this is actually a bug in the Digg Sample itself. The "digg-count" yellow box is formed by an <a> tag, but there is not a valid, iui-compatible href or target attribute. I suppose iui should handle this case more gracefully, but there are (at least) two fixes that could be made to the Digg Sample that would fix it: 1) Don't use an <a> tag to trigger the CSS formating for the "digg-count" 2) Use the same href in the "digg-count" <a> tag is in the<a> tag around the item title 3) Probably best: Put the "digg-count" in a span inside the other link and modify the digg-count CSS to target the <span>
    I verified this problem with Firefox 3.5.5. It turns out this is actually a bug in the Digg Sample itself. The "digg-count" yellow box is formed by an <a> tag, but there is not a valid, iui-compatible href or target attribute. I suppose iui should handle this case more gracefully, but there are (at least) two fixes that could be made to the Digg Sample that would fix it: 1) Don't use an <a> tag to trigger the CSS formating for the "digg-count" 2) Use the same href in the "digg-count" <a> tag is in the<a> tag around the item title 3) Probably best: Put the "digg-count" in a span inside the other link and modify the digg-count CSS to target the <span>
  • Dec 07, 2009
    issue 199 (iUI and FancyZoom) commented on by msgilli...@gmail.com   -   Charles, I recommend you post this issue to the iPhoneWebDev Google Group and ask for help there. Including a link to your page would help, too.
    Charles, I recommend you post this issue to the iPhoneWebDev Google Group and ask for help there. Including a link to your page would help, too.
  • Dec 07, 2009
    issue 199 (iUI and FancyZoom) reported by charles.hourtoule   -   Hello there, I would like to use the FancyZoom javascript (to zoom in images with a Mac OS X style) with my iUI webapp, it would totally fit with the iPhone. But the issue is that it doesn't work, and I have no clue why. The script is available here: http://www.cabel.name/2008/02/fancyzoom-10.html I followed all the steps to install it but it doesn't worked, I guess this is because of iUI, someone can tell me how I can make it work? Here is what firebug can tell me in the console (the red thing appear when I click on the image to zoom in): http://img687.imageshack.us/img687/2897/bugiuifancyzoom.png I've double checked the image exist, and works well when I go to the link without javascript. Would be great if someone have an idea, thanks! Charles
    Hello there, I would like to use the FancyZoom javascript (to zoom in images with a Mac OS X style) with my iUI webapp, it would totally fit with the iPhone. But the issue is that it doesn't work, and I have no clue why. The script is available here: http://www.cabel.name/2008/02/fancyzoom-10.html I followed all the steps to install it but it doesn't worked, I guess this is because of iUI, someone can tell me how I can make it work? Here is what firebug can tell me in the console (the red thing appear when I click on the image to zoom in): http://img687.imageshack.us/img687/2897/bugiuifancyzoom.png I've double checked the image exist, and works well when I go to the link without javascript. Would be great if someone have an idea, thanks! Charles
  • Dec 06, 2009
    issue 198 (digg demo. click <a> in panel <li> without href. an excepti...) reported by Mr.Chef   -   What steps will reproduce the problem? 1. go to iUI digg demo 2. click the yellow "digg-count" icon What is the expected output? What do you see instead? expected: nothing will happen. "digg-count" color will be reset. what I saw in Firebug console: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://iui.googlecode.com/svn/tags/REL-current/iui/iui.js :: anonymous :: line 104" data: no] What version of the product are you using? On what operating system? tested on online iUI digg demo Please provide any additional information below.
    What steps will reproduce the problem? 1. go to iUI digg demo 2. click the yellow "digg-count" icon What is the expected output? What do you see instead? expected: nothing will happen. "digg-count" color will be reset. what I saw in Firebug console: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://iui.googlecode.com/svn/tags/REL-current/iui/iui.js :: anonymous :: line 104" data: no] What version of the product are you using? On what operating system? tested on online iUI digg demo Please provide any additional information below.
  • Dec 04, 2009
    issue 48 (iui submits checkbox data even when the checkbox is not chec...) commented on by dan...@matuschek.net   -   Oops, my mistake. Use of args has been changed in 0.40. Seems to work now with an adapted patch.
    Oops, my mistake. Use of args has been changed in 0.40. Seems to work now with an adapted patch.
  • Dec 04, 2009
    issue 48 (iui submits checkbox data even when the checkbox is not chec...) commented on by dan...@matuschek.net   -   Seems, that the patch isn't working on 0.40. With the patch the browser does not send the post request. But I don't know why this is not working. Any ideas?
    Seems, that the patch isn't working on 0.40. With the patch the browser does not send the post request. But I don't know why this is not working. Any ideas?
  • Dec 04, 2009
    issue 186 (Linking to self by fragment results in white page) commented on by hendrikvanantwerpen   -   May be the two fixes should be combined? I often show new pages from code and the clickhandler has nothing to do with that.
    May be the two fixes should be combined? I often show new pages from code and the clickhandler has nothing to do with that.
  • Dec 04, 2009
    issue 197 (No style for select boxes) reported by dan...@matuschek.net   -   What steps will reproduce the problem? use <select><option>...</option></select> in a form What is the expected output? What do you see instead? Text should be formated in the same was as the other text (size) What version of the product are you using? On what operating system? 0.4 Please provide any additional information below. There is style mentioned here that works well: http://groups.google.com/group/iphonewebdev/browse_thread/thread/a39a4479fbc417bb
    What steps will reproduce the problem? use <select><option>...</option></select> in a form What is the expected output? What do you see instead? Text should be formated in the same was as the other text (size) What version of the product are you using? On what operating system? 0.4 Please provide any additional information below. There is style mentioned here that works well: http://groups.google.com/group/iphonewebdev/browse_thread/thread/a39a4479fbc417bb
  • Nov 30, 2009
    DocumentationProject (Planning for the iUI Documentation (sub) Project.) Wiki page edited by Stanislav.Bogdanov
  • Nov 30, 2009
    issue 196 (missing xhr.setRequestHeader(header, iui.httpHeaders[header]...) reported by lictor4   -   line 136, 137 look like: xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); data = iui.param(args); they should be: xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.setRequestHeader(header, iui.httpHeaders[header]); data = iui.param(args);
    line 136, 137 look like: xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); data = iui.param(args); they should be: xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.setRequestHeader(header, iui.httpHeaders[header]); data = iui.param(args);
  • Nov 29, 2009
    issue 195 (The page slide does not work) reported by gaya3in1   -   What steps will reproduce the problem? 1. Download iui-0.31 2. Open .../iui/samples/digg/index.html#___1__ What is the expected output? What do you see instead? I clicked on a click link/story, the page loads like any other link. I want it to slide. The slide effect works perfectly on Joe Hewitt's Digg (http://www.joehewitt.com/iui/samples/digg/#___1__). What version of the product are you using? On what operating system? iui-0.31 OS- Vista Please provide any additional information below. I checked the code on the index page, it is the same. I think the issue is with the iui.js file. The iui.css file does not have a scroll command. I don't need anything funky; I just need the code that allows a page to slide when clicking on a link. This is what I have so far (http://www.gaya3in1.kroute.com/iphone/menu.html)
    What steps will reproduce the problem? 1. Download iui-0.31 2. Open .../iui/samples/digg/index.html#___1__ What is the expected output? What do you see instead? I clicked on a click link/story, the page loads like any other link. I want it to slide. The slide effect works perfectly on Joe Hewitt's Digg (http://www.joehewitt.com/iui/samples/digg/#___1__). What version of the product are you using? On what operating system? iui-0.31 OS- Vista Please provide any additional information below. I checked the code on the index page, it is the same. I think the issue is with the iui.js file. The iui.css file does not have a scroll command. I don't need anything funky; I just need the code that allows a page to slide when clicking on a link. This is what I have so far (http://www.gaya3in1.kroute.com/iphone/menu.html)
  • Nov 25, 2009
    DocumentationProject Wiki page commented on by joeleeme   -   =Heading1=
    =Heading1=
  • Nov 24, 2009
    DocumentationProject (Planning for the iUI Documentation (sub) Project.) Wiki page edited by Stanislav.Bogdanov
  • Nov 24, 2009
    DocumentationProject (Planning for the iUI Documentation (sub) Project.) Wiki page edited by Stanislav.Bogdanov
  • Nov 24, 2009
    issue 156 (Speed up link activation with ontouch events) commented on by tyu...@gmail.com   -   It appears recently Google's Gmail webapp was changed (new theme) and their message list was changed to respond to ontouchend which makes it much more responsive. However I don't know why they only changed the message list but didn't change the buttons and menus, which rely on the slower onclick.
    It appears recently Google's Gmail webapp was changed (new theme) and their message list was changed to respond to ontouchend which makes it much more responsive. However I don't know why they only changed the message list but didn't change the buttons and menus, which rely on the slower onclick.
  • Nov 23, 2009
    DocumentationProject (Planning for the iUI Documentation (sub) Project.) Wiki page added by msgilli...@gmail.com
  • Nov 23, 2009
    issue 69 (iui + google maps) commented on by foxbrooksolutions   -   Haven't had a chance to check this, but i wonder if a tweak of mahen's fix would also resolve the google ads issue?
    Haven't had a chance to check this, but i wonder if a tweak of mahen's fix would also resolve the google ads issue?
  • Nov 19, 2009
    issue 193 (Safari embed video tag rendering problem) commented on by kelvin.wu   -   Same issue happens on Chrome lite (Android phone). WebKit problem or iUI problem?
    Same issue happens on Chrome lite (Android phone). WebKit problem or iUI problem?
  • Nov 18, 2009
    issue 145 (Selectively enable copy/paste for iPhone 3.0) commented on by lensovetp   -   i don't understand, why should copy/paste be *enabled* selectively? shouldn't it be enabled by default and then disabled in a few select locations?
    i don't understand, why should copy/paste be *enabled* selectively? shouldn't it be enabled by default and then disabled in a few select locations?

Earlier this year

  • Nov 14, 2009
    issue 168 (No Scrollbars on textareas or asp:textboxes with TextMode="M...) commented on by gabr...@savvymultimedia.com   -   An ASP textbox is the same as any other textbox, once it is served to the browser as HTML markup. The fact that the iPhone does not support scrollbars is endlessly frustrating for those of us building web applications. Users never scroll using the zoom loupe.
    An ASP textbox is the same as any other textbox, once it is served to the browser as HTML markup. The fact that the iPhone does not support scrollbars is endlessly frustrating for those of us building web applications. Users never scroll using the zoom loupe.
  • Nov 10, 2009
    issue 183 (Need more flexible history & backButton) commented on by rsp...@vcschools.org   -   I needed tighter control of the back button for a Student Information System application I'm developing. Example: I select the roster of students for a teacher's class, then provide buttons for moving from one student to the "next" or "previous". To preserve the hierarchy I want the "back" button to remain as a link back to the roster list of the class. I implemented a concept of "parentID" pretty successfully... when I explicitly want to define the "parent" of the selected page, I add a parentID attribute... <ul id="roster" parentID="schedule".....> I added the following to the updatePage function: var parentID = page.getAttribute('parentID'); if (parentID) { var parentPage = $(parentID); backButton.innerHTML = parentPage.title; backButton.href = '#' + parentID; } I also added a line to just after if(backButton) that always resets the button's href back to "#" I did have to implement the "backlink" mods to preserve the backwards sliding of the button. This way if I define a parentid the backButton's behavior is more tightly controlled, but in the absence of a parentid attribute, it functions in the normal "history.back()" way.
    I needed tighter control of the back button for a Student Information System application I'm developing. Example: I select the roster of students for a teacher's class, then provide buttons for moving from one student to the "next" or "previous". To preserve the hierarchy I want the "back" button to remain as a link back to the roster list of the class. I implemented a concept of "parentID" pretty successfully... when I explicitly want to define the "parent" of the selected page, I add a parentID attribute... <ul id="roster" parentID="schedule".....> I added the following to the updatePage function: var parentID = page.getAttribute('parentID'); if (parentID) { var parentPage = $(parentID); backButton.innerHTML = parentPage.title; backButton.href = '#' + parentID; } I also added a line to just after if(backButton) that always resets the button's href back to "#" I did have to implement the "backlink" mods to preserve the backwards sliding of the button. This way if I define a parentid the backButton's behavior is more tightly controlled, but in the absence of a parentid attribute, it functions in the normal "history.back()" way.
  • Nov 10, 2009
    Introduction (iUI Introduction Wiki Page.) Wiki page edited by msgilli...@gmail.com
  • Nov 10, 2009
    Introduction (iUI Introduction Wiki Page.) Wiki page edited by msgilli...@gmail.com
  • Nov 10, 2009
    Introduction (iUI Introduction Wiki Page.) Wiki page edited by msgilli...@gmail.com
  • Nov 10, 2009
    issue 194 (Added ability to transition in 'Y' direction using CSS trans...) reported by jyee74   -   A quick way to allow for sliding in the Y direction using CSS transitions. Modified slide2() and made slide3() function slide3(fromPage, toPage, backwards, cb) { toPage.style.webkitTransitionDuration = '0ms'; // Turn off transitions to set toPage start offset // fromStart is always 0% and toEnd is always 0% // iPhone won't take % width on toPage var toStart = 'translateY(' + (backwards ? '-' : '') + window.innerHeight + 'px)'; var fromEnd = 'translateY(' + (backwards ? '100%' : '-100%') + ')'; toPage.style.webkitTransform = toStart; toPage.setAttribute("selected", "true"); toPage.style.webkitTransitionDuration = ''; // Turn transitions back on function startTrans() { fromPage.style.webkitTransform = fromEnd; toPage.style.webkitTransform = 'translateY(0%)'; //toEnd } fromPage.addEventListener('webkitTransitionEnd', cb, false); setTimeout(startTrans, 0); }
    A quick way to allow for sliding in the Y direction using CSS transitions. Modified slide2() and made slide3() function slide3(fromPage, toPage, backwards, cb) { toPage.style.webkitTransitionDuration = '0ms'; // Turn off transitions to set toPage start offset // fromStart is always 0% and toEnd is always 0% // iPhone won't take % width on toPage var toStart = 'translateY(' + (backwards ? '-' : '') + window.innerHeight + 'px)'; var fromEnd = 'translateY(' + (backwards ? '100%' : '-100%') + ')'; toPage.style.webkitTransform = toStart; toPage.setAttribute("selected", "true"); toPage.style.webkitTransitionDuration = ''; // Turn transitions back on function startTrans() { fromPage.style.webkitTransform = fromEnd; toPage.style.webkitTransform = 'translateY(0%)'; //toEnd } fromPage.addEventListener('webkitTransitionEnd', cb, false); setTimeout(startTrans, 0); }
  • Nov 09, 2009
    issue 124 (Panel comes up short when using web app capable.) Status changed by msgilli...@gmail.com   -  
    Status: Started
    Status: Started
  • Nov 09, 2009
    issue 124 (Panel comes up short when using web app capable.) commented on by msgilli...@gmail.com   -   Looks like height: 100% is a no-go given feedback on 0.40-dev1: http://groups.google.com/group/iphonewebdev/browse_thread/thread/226f4f8578f3d97d
    Looks like height: 100% is a no-go given feedback on 0.40-dev1: http://groups.google.com/group/iphonewebdev/browse_thread/thread/226f4f8578f3d97d
  • Nov 06, 2009
    issue 193 (Safari embed video tag rendering problem) commented on by kelvin.wu   -   I found a 'cheating' solution... <a href="javascript:var myVideo=document.getElementsByTagName('video') [0];myVideo.play();">Play Trailer...</a> <video id="video" name="video" src="url_to_media_file" height="1" width="1"></video> Set the icon to 1x1 so I don't care whether or not it is misaligned, actually I can't even find it...
    I found a 'cheating' solution... <a href="javascript:var myVideo=document.getElementsByTagName('video') [0];myVideo.play();">Play Trailer...</a> <video id="video" name="video" src="url_to_media_file" height="1" width="1"></video> Set the icon to 1x1 so I don't care whether or not it is misaligned, actually I can't even find it...
  • Nov 05, 2009
    issue 192 (Control direction of slide animation) commented on by CoolCriSyS   -   Yes, I totally agree with that which is why I had to do this. I have a list of messages that you navigate through using the 'Next' and 'Back' buttons, but the back button was causing it to post all the way back to the index page instead of the previous page in the list. So I created my own back button that would call to the next set of the list of messages to load, but since links always slide forward, going backwards would also slide forward hence me adding this fix.
    Yes, I totally agree with that which is why I had to do this. I have a list of messages that you navigate through using the 'Next' and 'Back' buttons, but the back button was causing it to post all the way back to the index page instead of the previous page in the list. So I created my own back button that would call to the next set of the list of messages to load, but since links always slide forward, going backwards would also slide forward hence me adding this fix.
 
Hosted by Google Code