Inline Style Of A Slider Doesn't Change Permanently

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

14-Sep-17 15:30
There's a default div's max-width 335.16px and when visitors click on an icon this max-width becomes 100% using jquery.
The problem is that when somebody clicks on the arrows to change the slide, max-width becomes again 335.16px.

Is there any way to change PERMANENTLY the max-width of the specific div?
The link to the test site is: http://www.onlineforextradingaccount.com/vangelis/

[Edited by leandros21 on 14-Sep-17 14:30]

--
To be or not to be
15-Sep-17 12:17
Any idea?

--
To be or not to be
15-Sep-17 18:36
"Is there any way to change PERMANENTLY the max-width of the specific div?"

Assuming that "using javascript" is implied, the answer is ... No.


Your option is to make the 'slide-change' routine query the current max-width property and then set it to that value.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/

 
New posts
Old posts

Follow Elated