Jump to content
ambielmusic

How do I add main page content into its own DIV (Ajax / jQuery)

Recommended Posts

ambielmusic    0
ambielmusic

Hi,

I'm trying to build an mp3 player (using soundmanager2 components) that runs continuously and have got as far as running it with a fixed header, I'm just unable to work out the best route to placing the main content into its own div so that when a navigation link is clicked in the header, the top of the site stays as it is and the main content is loaded dynamically so the mp3 player isn't interrupted.

I am using ajax and jquery so far and have been able to find a solution for the div theory to work but I just can't seem to find the correct .php page to use without breaking the site. The customised fixed header is alive and kicking I just need the main content to load dynamically now and then i'm set.

I've found this useful page and am basing my theory around this functionality:

http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

I'm a music producer and mix engineer and am developing an online mixing service and this music facility is key to my future sites functionality.

Hope I've explained my issue correctly.

Thanks

Nat

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi Nat,

Unfortunately, I am unsure how you would implement this type of functionality. I think the best course of action would be to contact one of our Pros and ask there. I will also speak to one of our developers and see if this is even possible and will reply here when I have more information.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
ambielmusic    0
ambielmusic

Ok, yeah appreciate its a bit of a specialist request, I've actually seen it in action but its just trying to work out the workings behind the scenes and doing it without breaking the main site.

Look forward to hearing anything you might have that can help.

cheers

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

It's been ages since I used that Dynamic Drive system. More than half a decade to be exact.

There are so many plugins to play mp3 files today, and we have sections in the Store for videos. If you're trying to keep the files available to members, or to sell them, there are easier ways.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
ambielmusic    0
ambielmusic

hey rob,

thats not quite the help I was looking for but cheers anyway...I'm not using dynamic drive and was just trying to explain by using a simple reference point of the functionality I'm after.....

I'm not after a plugin and am building my own bespoke music database and player thats unique for my requirements (its not an mp3 store or anything like that)

The main functionality is for my clients to browse the site whilst being able to continue to listen to the audio, without the audio stopping on page reload.

Its all good anyway as have found a solution based on my theory and have a developer who is implementing it for me.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Wonderful. I wish you nothing but the best success. Sounds like an interesting project.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
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


  • Similar Content

    • dreamsight
      By dreamsight+
      Hi, we've lost the FIXED header canvas area on http://www.countyflatroofing.co.uk/
      Any ideas how we can get it back, or re-create it?
      Thanks
    • dreja
      By dreja+
      Hi,
       
      I have a site in development :
       
      ^ On this page there a ton of white space. I'd like for the div below the picture and main text to sit in this white page but when I move it there, the div shows up behind the picture. 
       
      Can anyone suggest a way for me to have the coloured box show up in that empty white space? Thanks for your help.
    • gavred
      By gavred+
      Hi Guys, 
       
      I have a issue which is frustrating me, which I am hoping you may be able to help me resolve. 
       
      I am trying to hide the global fixed top and the footer region on a number of pages. 
       
      An example URL is this one: www.noelgroup.ie/grabajob/ 
       
      The CSS I am trying to use is the following: 
       
      .page-id-1313 .pl-fixed-top { display: none; }  .page-id-1313 .section-ifooter { display: none; }    I can't understand why it isn't working.  Any suggestions you could provide me with would be very much welcomed and appreciated.    Thanks,  Gav.    N.B.    I did try to use Danny's suggestion on a previous forum post here: http://forum.pagelines.com/topic/37274-no-header-fixed-menu-for-certain-pages/ However, when I used this suggestion, the site became slightly "buggy" (if thats the right term) and while the fixed-top and the footer hid perfectly on the pages I specified, the menu and the footer tended to disappear once I logged out of the admin and I ended up having to re-add the sections a number of times before I dis-abled the pro tools "hide region" checkbox and unselected the areas to be hidden.               
    • topjaba
      By topjaba
      Hello,
       
      Since having switched to DMS2 I no longer see controls for fixing the header/menu position.
       
      Additionally, I am frustrated to no end by the menu styling elements which seem straight forward but don't seem to work.  It's a total crap shoot if my changes are ever applied.  For some reason, the background is annoyingly set to blue even though I have adjusted no such settings in this way - I know I can set the select background color for this but that chucks transparency out the window.  Finally, the color of the menu text will not simply appear unless I override the CSS which seems really wonky for a site builder.
       
      Are there any plans to overhaul the UI any time soon?  I I like what at first appears to be a platform comprising of simple yet powerful site building tools but I must say the UI and overall user experience feels shoddy and inconsistent.  I've built dozens of websites on WordPress and using Suffusion and other highly customizable themes but none of them have been as challenging to derive my desired result as DMS. 
       
      Thanks in advance for your help and I hope no offense is taken from my remarks.   
       
      calhfa[dot]co
    • outtareach
      By outtareach
      Installed and updated the plugin and could barely use wordpress.  I did a scan and the speed was a D, I deactivated it and deleted it and now performance is better and backend loads better.  Uninstalled all other plugins til I got to that and it is what was slowing site down.  Just wanted to let you know.
×