The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Image Transition effects not working, Image Transition effects not working
Ramesh
post Oct 30 2014, 02:34 AM
Post #1





Group: Members
Posts: 3
Joined: 30-October 14
Member No.: 21,737



Hi All,

I have written the CSS code for applying Image transition effects using filter and progid attributes.

These effects are not working in any of the browsers.

Request you to help me in this regards. sad.gif

Thanks,
Ramesh Kumar.P
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 30 2014, 05:08 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Please show an example.

But "filter and progid attributes" sounds like MSIE's properietary filter and transition effects, that are only supported by MSIE browsers. These days CSS3 should offer similar effects, that are supported by all major browser brands.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Ramesh
post Oct 30 2014, 11:50 AM
Post #3





Group: Members
Posts: 3
Joined: 30-October 14
Member No.: 21,737



Here is the code which I have written for applying Transition and Filters

div.effect hover
{
opacity: 0;
-webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out;
-o-transition: opacity 0.5s ease-in-out;
-ms-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out;
}

JavaScript method to apply animation / transition effect:

function image_effects() {
var selobj = document.getElementById('slidehow_transition');
var selIndex = selobj.selectedIndex;
//set the transition to the number selected in the list
slideShow.filters.revealTrans.Transition = selIndex
slideShow.filters.revealTrans.apply()
slideShow.filters.revealTrans.play()
}

None of these works!!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 30 2014, 12:30 PM
Post #4


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(Ramesh @ Oct 30 2014, 05:50 PM) *

div.effect hover

The ":hover" pseudoclass must begin with a colon.

QUOTE
JavaScript method to apply animation / transition effect:

function image_effects() {
var selobj = document.getElementById('slidehow_transition');
var selIndex = selobj.selectedIndex;
//set the transition to the number selected in the list
slideShow.filters.revealTrans.Transition = selIndex
slideShow.filters.revealTrans.apply()
slideShow.filters.revealTrans.play()
}

MSIE's Filters and Transitions syntax has changed once or twice over the years, alas I can't remember what applied to which MSIE version. Perhaps you can find something here: http://msdn.microsoft.com/en-us/library/ms...7(v=vs.85).aspx
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Ramesh
post Oct 31 2014, 05:19 AM
Post #5





Group: Members
Posts: 3
Joined: 30-October 14
Member No.: 21,737



No Luck... sad.gif sad.gif sad.gif sad.gif

Unable to apply those filters or Transition effects.

The error message is : Object doesn't support property or method 'filters'

My Internet Explorer version is : IE11
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 31 2014, 05:47 AM
Post #6


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Seems they are no longer supported in IE11: http://msdn.microsoft.com/en-us/library/ie...5(v=vs.85).aspx
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 06:41 AM