Jump to content

Access to elements through plugins


chef

Recommended Posts

chef

I'd like to be able to target web client elements through plugins.

 

For instance, I'd like to write code like:

 <script type="text/javascript">

            (function () {
               
                    $('#itemDetailPage').on('load', function () {
                       //Code here to manipulate classes and layout
                    });
            });
 </script>

I have been working on some really nice parallax options for the Details pages in the webclient.

 

I think it would be cool to implement  them by way of plugins.

 

Maybe it's too much to ask, so if this is declined it's cool.

 

 

Perhaps I should instead propose some layout changes which would allow for some shorter scrolling options to get to the 'scenes' area of the details page instead.

 

I believe that 'scenes' are more important then suggested material.

 

therefore 'scenes' should be moved above 'more like this..'

 

The 'scenes' layout could 'parallax scroll' over the 'Cast & Crew' making it perceived as a shorter page.

 

Then 'more like this...' does the same overlap scroll of the 'scene' material.

 

 

Just a suggestion :)

Link to comment
Share on other sites

chef

to further my own discussion here, I finally figured out that everything in the webclient is built off of 'mainAnimatePages'

 

It took me a secind to figure out how the jQuery was adding info to the html which was only build of 'divs'

 

Then I realized it was attaching the pages inside the 'mainAnimatedPages', keeping the body of the application the same.

 

Using CSS to style the basic items, but the jquery is deciding what to show based off of item types and db info.

 

Now I am going to try to test my own jquery in the Webclient core.

Edited by chef
Link to comment
Share on other sites

chef

Still can't find the right place to add my jquery code.

 

It just won't load into the DOM.

Link to comment
Share on other sites

chef

Changing layout from the HTML was pretty easy, a little cut and paste of the doc containers in the detailPage HTML allowed me to change my layout the way I wanted it.

 

Moving scene selection above similar media and below actors images.

 

My intent is still to parallax scroll the scene container over the actors container once the actors container hits the top of the window.

 

I think that would be a better interaction design choice.

Link to comment
Share on other sites

chef

I think my next goal will be to load a javascript file I have created by adding its name to the 'apploader'

 

I'm pretty sure that is what's supposed to happen.

Link to comment
Share on other sites

chef

back to the theater I go then.

 

It was getting a little tedious :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...