make sexypolls fluid
First unread post • 8 posts
• Page 1 of 1
make sexypolls fluid
hi,
is it possible to make sexypolls fluid? I use sexypolls in a bootstrap template, and I'd like to make it fluid. It always adds wrapper width in px in div polling_container_wrapper, and I can't find where it does that. When I test it in google chrome turning off this element style, it works !
thanks for your help !
Greg
is it possible to make sexypolls fluid? I use sexypolls in a bootstrap template, and I'd like to make it fluid. It always adds wrapper width in px in div polling_container_wrapper, and I can't find where it does that. When I test it in google chrome turning off this element style, it works !
thanks for your help !
Greg
- gregpich
- Posts: 6
- Joined: Mon May 06, 2013 1:49 am
Re: make sexypolls fluid
Hi,
Could you explain more detailed what you try to achieve?
Could you explain more detailed what you try to achieve?
-
Simon - Site Admin
- Posts: 1306
- Joined: Wed Jul 13, 2011 8:53 pm
Re: make sexypolls fluid
Hi Simon,
I'm trying to make div polling_container_wrapper resizeable.
You can see what is going wrong with the poll at the end of the page at :
http://gregpich.com/j259/ log with id : ce-guest, pwd : 123 and resize your browser window by reducing it width.
I quess I just have to remove the added element style width:xxx px, but I can't find where it's added. If you inspect the element (with chrome or firefox) and turn off it width, then resize again, you'll see it's ok.
I'm trying to make div polling_container_wrapper resizeable.
You can see what is going wrong with the poll at the end of the page at :
http://gregpich.com/j259/ log with id : ce-guest, pwd : 123 and resize your browser window by reducing it width.
I quess I just have to remove the added element style width:xxx px, but I can't find where it's added. If you inspect the element (with chrome or firefox) and turn off it width, then resize again, you'll see it's ok.
- gregpich
- Posts: 6
- Joined: Mon May 06, 2013 1:49 am
Re: make sexypolls fluid
Hi Greg,
It adds inline css via javascript, and it's very important part, because without it the reordering animation can not work properly. So unfortunately you can not make it resizeable.
Best regards,
Simon
It adds inline css via javascript, and it's very important part, because without it the reordering animation can not work properly. So unfortunately you can not make it resizeable.
Best regards,
Simon
-
Simon - Site Admin
- Posts: 1306
- Joined: Wed Jul 13, 2011 8:53 pm
Re: make sexypolls fluid
ok Simon,
thank you for your answer. I edit the js file to prevent the addition of style in the container and it's ok, it looks like what i want, except when you're in answer mode, of course div "answer_navigation polling_bar_x" don't resize. I think with a resize event that reverts to question it will be ok. Thanks again (excuse for my english which doesn't clarify things
)
thank you for your answer. I edit the js file to prevent the addition of style in the container and it's ok, it looks like what i want, except when you're in answer mode, of course div "answer_navigation polling_bar_x" don't resize. I think with a resize event that reverts to question it will be ok. Thanks again (excuse for my english which doesn't clarify things

- gregpich
- Posts: 6
- Joined: Mon May 06, 2013 1:49 am
Re: make sexypolls fluid
I'm happy that it works fine for you.
In many cases it causes a conflict, that is why I added that part in s file.
Best Regrads,
Simon
P.S How you edited obfuscated javascript file?
In many cases it causes a conflict, that is why I added that part in s file.
Best Regrads,
Simon
P.S How you edited obfuscated javascript file?

-
Simon - Site Admin
- Posts: 1306
- Joined: Wed Jul 13, 2011 8:53 pm
Re: make sexypolls fluid
done ! (write a review in JED! but I can't see it yet)
I've just changed the class name that I've found in the js file (polling_container_wrapper in polling_container_wrapper_sleep
)
I've just changed the class name that I've found in the js file (polling_container_wrapper in polling_container_wrapper_sleep

- gregpich
- Posts: 6
- Joined: Mon May 06, 2013 1:49 am
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests