including the div inside the aditable area...
Permalink
Hi All,
I have a fairly straightforward issue (I think).
I am creating a portfolio page that will contain an image slider and a description box(div) that sits next to the image slider
I have created and editable areas that is inside and DIV tag:
but when I create/add to this editable area it tries to create the new content inside that div instead of creating a new area.
I want the whole div to be inside the editable area so it duplicates the div which I have given a specific css class to make it the height and width I want so that I can create multiple image sliders on the same page and just have the page scroll down to each one.
I am gathering that somehow the div sits inside <php area somehow or that I will somehow have to include the image slider block inside the portfolio template.
Can anyone point me in he direction of the best solution for this?
cheers
Paul
I have a fairly straightforward issue (I think).
I am creating a portfolio page that will contain an image slider and a description box(div) that sits next to the image slider
I have created and editable areas that is inside and DIV tag:
<div class="rightBox"> <?php $a = new Area('portfolio_Desc'); $a->display($c); ?> </div> <div class="rightImg"> <?php $a = new Area('portfolio_Image'); $a->display($c); ?> </div>
but when I create/add to this editable area it tries to create the new content inside that div instead of creating a new area.
I want the whole div to be inside the editable area so it duplicates the div which I have given a specific css class to make it the height and width I want so that I can create multiple image sliders on the same page and just have the page scroll down to each one.
I am gathering that somehow the div sits inside <php area somehow or that I will somehow have to include the image slider block inside the portfolio template.
Can anyone point me in he direction of the best solution for this?
cheers
Paul
then use compound css to tweek for that specific page.
#content.rightbox.modinquestion {
}