EasyUI Forum
April 29, 2024, 07:56:14 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / General Discussion / Re: Receive load or failure events from ajax tab content on: April 04, 2017, 03:03:02 PM
Indeed.  Thank you.   That event wasn't listed under the tabs events, but I see it is available for panels.

Still learning,
- Linus
2  General Category / General Discussion / Re: Receive load or failure events from ajax tab content on: March 29, 2017, 10:45:01 AM
Hi jarry,

Thanks for your response.  I have added listeners for that event and the others. 

That is good for getting notified that the content was successfully loaded, but I more importantly would like to get notified of failures or errors on loading.

Is there a way to capture those errors?

thanks,
- Linus
3  General Category / General Discussion / Receive load or failure events from ajax tab content on: March 28, 2017, 04:04:16 PM
Hi all,

Is it possible to receive any feedback when a tab is created with an href specifying content location, such as content loaded or error response or timeout or ?

Thanks,
Linus
4  General Category / EasyUI for jQuery / Re: newbie help: tab content height 100% on: March 08, 2017, 01:12:47 PM
Hi Pierre,

Thanks for your response.

I tried the fit property on both the easyui-tabs div, in which case it over-rode the width I had specified for that element, as well as on the content div, where it did not seem to do anything at all.  Without the fit property, the easyui-tabs div is properly sized to 100% height of the containing element, but the tab content (the map in this case) comes up with a 0px height, as determined by chrome dev tools inspection.

I am no expert in css and front-end development, so I am probably messing something up.

In trying things, I have discovered that if I put the css styling (height, width, border, etc) I want into the div html directly instead of being referenced by class in the css file, things work better.  The whole page layout is getting messed up, and I'm getting scroll bars that I don't want or need (and in fact, don't do anything) around the map, but at least the map is coming up full height.
 
5  General Category / EasyUI for jQuery / newbie help: tab content height 100% on: March 08, 2017, 10:44:52 AM
I am trying to put my current content into a tabs panel.  I have a single div with a map in it.  It is styled with height:100%.  When I wrap the map div in easyui-tabs, I cannot get the map div to automatically fill the tab panel.  I can set a hard height in pixels, but I want it to automatically fill the available space.

The div that is the tabs container is set to height:100% and that is appropriately filling all the space that the map had filled when not wrapped in the tabs container.

How do I get the tab content to be 100% of container height?

thanks,
Linus
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!