Seker Posted December 20, 2013 Share Posted December 20, 2013 Looks like I'll have to give up on the Chrome conversion. Seems Chrome has issues with iframe & visibility ... a hidden iframe isn't. Tried to change to using display rather than visibility, got all swapped, then realized why I used visibility in the first place! Arrrgghh. Display collapses the dimensions of an object, visibility does not. So you can't use display:none and referrer to things like clientWidth. Unless I am missing something? Looks like Chrome is not ready yet. ;) Will ensure the homepage can be seen in Chrome as per suggestions above, Thanks. Does anyone actually develop using Chrome? If so what tools do they use? The native dev-tools and firebug-lite seem pretty lame. Yeah, what exactly is your problem? "Develop with Chrome?" Chrome handles CSS better than the other browsers, in my opinion. I use Chrome exclusively and things always behave exactly how I expect them to. Though, a shot in the dark, maybe look into -webkit-? Quote Link to comment Share on other sites More sharing options...
mahks Posted December 20, 2013 Author Share Posted December 20, 2013 Try this, create an iframe{visibility:hidden;width:100%;height:100%;z-index on top of all else. in dev tools you cannot click on anything "under" it even though it is hidden. In the browser the iframe will still be visible even though it is hidden. Of course, not knowing what I am doing may be part of the problem and I am missing the obvious, but found several posts online about this. Asked stackoverflow question "chrome guy" seemed to think it a bug and reported it. I did find it strange, I would find a bug on my first day working with Chrome... If you want to test, go to My website Click Chrome logo in corner. Click "Manual" button Right-click and select "inspect element" from the context menu. What do you get? A "hidden" iframe. If you can see something I did wrong, please enlighten me. I would like to get Chrome working... Quote Link to comment Share on other sites More sharing options...
Seker Posted December 20, 2013 Share Posted December 20, 2013 Try this, create an iframe{visibility:hidden;width:100%;height:100%;z-index on top of all else. in dev tools you cannot click on anything "under" it even though it is hidden. In the browser the iframe will still be visible even though it is hidden. Of course, not knowing what I am doing may be part of the problem and I am missing the obvious, but found several posts online about this. Asked stackoverflow question "chrome guy" seemed to think it a bug and reported it. I did find it strange, I would find a bug on my first day working with Chrome... If you want to test, go to My website Click Chrome logo in corner. Click "Manual" button Right-click and select "inspect element" from the context menu. What do you get? A "hidden" iframe. If you can see something I did wrong, please enlighten me. I would like to get Chrome working... Did you try the JS suggestion on that very question? Quote Link to comment Share on other sites More sharing options...
mahks Posted December 20, 2013 Author Share Posted December 20, 2013 I am pretty sure that when display:none is set you will not be able to use scrollTo on that or sub-elements. Whereas visibility:hidden will still let you do this (and much else). Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted December 21, 2013 Share Posted December 21, 2013 I'm probably the last person to talk to about html/css but I gave it a go on chrome on my phone :p http://jsfiddle.net/W77Ub/ Is this what your talking about? Quote Link to comment Share on other sites More sharing options...
mahks Posted December 21, 2013 Author Share Posted December 21, 2013 (edited) Slight change to your fiddle, seems to only be if the hidden attribute is on an iframe But a weird thing, click RUN, displays as expected click UPDATE, boing! So may only be when the attribute is set via javascript!? http://jsfiddle.net/BHWN2 Edited December 21, 2013 by mahks Quote Link to comment Share on other sites More sharing options...
Seker Posted December 21, 2013 Share Posted December 21, 2013 Slight change to your fiddle, seems to only be if the hidden attribute is on an iframe But a weird thing, click RUN, displays as expected click UPDATE, boing! So may only be when the attribute is set via javascript!? http://jsfiddle.net/BHWN2 What version of Chrome are you using? Run and Update both show the same result for me. Quote Link to comment Share on other sites More sharing options...
mahks Posted December 21, 2013 Author Share Posted December 21, 2013 (edited) Version 31.0.1650.63 m [ATTACH=CONFIG]1244[/ATTACH] Edited December 21, 2013 by mahks Quote Link to comment Share on other sites More sharing options...
Seker Posted December 21, 2013 Share Posted December 21, 2013 Strange. Maybe something with your settings? I don't know. As I said, with the fiddle, the result looks the same, either way. Quote Link to comment Share on other sites More sharing options...
mahks Posted December 21, 2013 Author Share Posted December 21, 2013 Don't remember changing any settings except in dev tools, and that is not open. Would you mind following those steps in post#27 and see if the iframes are visible in your browser & clickable in dev tools? Thanks! Quote Link to comment Share on other sites More sharing options...
mahks Posted December 21, 2013 Author Share Posted December 21, 2013 Uninstalled Chrome & re-installed. I changed no setting, same issues. This is on Windows 7 Pro Quote Link to comment Share on other sites More sharing options...
Seker Posted December 21, 2013 Share Posted December 21, 2013 I've tried going to your site but after clicking on the Chrome button (Says image not found, by the way) I just get a constant loading animation. I don't believe it's my internet, but who knows? Quote Link to comment Share on other sites More sharing options...
mahks Posted December 21, 2013 Author Share Posted December 21, 2013 I just get a constant loading animation. Yes, that is what shows at the moment...try : Right-click and select "inspect element" from the context menu. What do you get? I get a "hidden" iframe. (id='f_load') actually the HTML tag, but on the hidden iframe Quote Link to comment Share on other sites More sharing options...
Seker Posted December 21, 2013 Share Posted December 21, 2013 Yes, that is what shows at the moment...try : Right-click and select "inspect element" from the context menu. What do you get? I get a "hidden" iframe. (id='f_load') actually the HTML tag, but on the hidden iframe So, wait, is your problem the "hidden" iframes actually showing up on the screen or just that it's showing they exist in dev tools? Because, if it's the second, I don't really see how that would be a problem from a player's standpoint. Quote Link to comment Share on other sites More sharing options...
mahks Posted December 21, 2013 Author Share Posted December 21, 2013 I have both issues, I can see "hidden" iframes in the browser. and I cannot select anything "under" "hidden" empty iframes with "inspect element" from the context menu. Quote Link to comment Share on other sites More sharing options...
Faz` Posted January 5, 2014 Share Posted January 5, 2014 I don't post often here any more, and this thread pretty much sums up why. This nice chap comes on here to tell us about his new game, clearly explains why it is limited to Firefox, yet the first 3 pages are all questions as to why it is limited to Firefox and not supported on other browsers. Not one person decided to actually review the game and it's content, quite sad really. That being said, I will give your game a try tomorrow when I get the chance. It definitely does look interesting from what I've seen so far. Seems like you've put a lot of time and effort into this. Quote Link to comment Share on other sites More sharing options...
Seker Posted January 5, 2014 Share Posted January 5, 2014 I don't post often here any more, and this thread pretty much sums up why. This nice chap comes on here to tell us about his new game, clearly explains why it is limited to Firefox, yet the first 3 pages are all questions as to why it is limited to Firefox and not supported on other browsers. Not one person decided to actually review the game and it's content, quite sad really. That being said, I will give your game a try tomorrow when I get the chance. It definitely does look interesting from what I've seen so far. Seems like you've put a lot of time and effort into this. Ridiculousness. Two pages are, in fact, filled with attempts to UNDERSTAND why it won't work outside of Firefox in an effort to try to supply some kind of solution. Get over yourself. Quote Link to comment Share on other sites More sharing options...
mahks Posted January 20, 2014 Author Share Posted January 20, 2014 I will give your game a try tomorrow when I get the chance. It definitely does look interesting from what I've seen so far. Seems like you've put a lot of time and effort into this. Did you try the game? Any comments? Quote Link to comment Share on other sites More sharing options...
mahks Posted October 6, 2015 Author Share Posted October 6, 2015 (edited) Update : 2 new in game options : - Design your own ships - Negotiate Treaties with Independent stars (NPCs) Chrome has fixed the iframe visibility problem so I have got it 98% working in chrome now. Just some incompatible things with canvas. Graphics marginally improved, I updated the images in post # 1 Tutorial re-done, simplified, got rid of the videos, now text pop-up based. Could use some new blood to test the tutorial... Edited October 7, 2015 by mahks Quote Link to comment Share on other sites More sharing options...
mahks Posted November 6, 2015 Author Share Posted November 6, 2015 Chrome working 100% now Quote Link to comment Share on other sites More sharing options...
mahks Posted November 20, 2015 Author Share Posted November 20, 2015 The tutorial has been axed in favour of in-game hint panels. Quote Link to comment Share on other sites More sharing options...
mahks Posted September 24, 2016 Author Share Posted September 24, 2016 New episode just beginning, could use a half dozen more testers. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.