ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

page load

January 10, 2008 5:52pm

Subscribe [1]
  • #1 / Jan 10, 2008 5:52pm

    Alberto Cabutti

    2 posts

    Hi

    It is possible load a single part of CSS page like a part of framest in html page ?

    thnx

    barolo

  • #2 / Jan 10, 2008 6:29pm

    Derek Allard

    3168 posts

    Are you asking if its possible to only affect part of a page with CSS?

  • #3 / Jan 10, 2008 6:44pm

    Alberto Cabutti

    2 posts

    Yes
    I have a 2 part page like fileter and data
    when the data are loaded I need filter remain same.

    THNX

  • #4 / Jan 10, 2008 6:47pm

    Derek Allard

    3168 posts

    if the rule I only wanted to affect half the page was color:red;, I’d do it like this

    <style type="text/css">
    #fileter p {
         color: red;
    }
    </style>
    <div id="fileter">
    some paragraph text.
    some paragraph text.
    some paragraph text.
    some paragraph text.
    </div>
    <div id="data">
    some paragraph text.
    some paragraph text.
    some paragraph text.
    some paragraph text.
    </div>
  • #5 / Jan 10, 2008 7:19pm

    Alberto Cabutti

    2 posts

    My old frameset style was

    The frame
    .
    .
    .
    <frameset rows=“200,*” frameborder=“NO” border=“0” framespacing=“0”>
      <frame src=“filter.php” name=“top” scrolling=yes” noresize>
      <frame src=“data.php” name=“bottom” scrolling=yes” noresize>
    </frameset>
    .
    .
    The filter page
    .
    .
    .
    <form name=“filter” method=“post” action=“data.php” taget=“bottom”>
    .
    .

    The data page display new data


    My goal is replicate the same function passing filter sets to the controller
    loading new data whitout reloading all the page ($this->load->view(‘mypage’,mydata)) modifing filter sets.
    using a CSS structure in mypage

    <div id=“filter”>
    .
    .
    .
    </div>
    <div id=“data”>
    .
    .
    .
    </div>

  • #6 / Jan 10, 2008 7:33pm

    Pascal Kriete

    2589 posts

    It’s possible, but only with javascript.  So I would suggest implementing the functionality with reloading, and then hijacking the whole procedure to make it pretty for those 91% of us that have js enabled.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases