Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Having a dynamically sized embed page + Variables in Weblinks

    <Start outdated data>
    I trying to get a webpage that I can embed that will change the size accordingly.

    This is what I'm trying to achieve.
    I have a page with a list, however, I want these links to be just themselves if the person who is on my page doesn't want to reload the whole page again when they press the back button after visiting a link. The simple solution would be copying the code of the links and just make a webpage itself, but the problem now is, when I want to put a new link, I have to update both pages. So what I want to do is have my links on a page by themselves and just have that be loaded into the main, but it also has to dynamically size itself considering if I'm adding links, the size of the list will increase.
    <End outdated data> Reason= Working with fixed size.

    I am also wanting to know how to implement variables in a webpage which are changed via address.
    Since I have now made a link that will open the list in a new popup (I am just going with fixed sized embed pages for the time being for the main.) and clicking links works fine in the window, since the links open text files. However, without controls, the user won't know how to go back. The easy way is to just allow controls again, but what if the user had a bulky browser? So the thought of a third page will be loaded instead, this one where if I do, lets say "mywebsite.com/textviewer.html?thetextdocument.txt", it will open the page and then the embed page showing the text document.

    Edit to Variables, I have fetched a variable, now all I need to do is use that veriable to a normal code for embed webpages, but I switched the file format to php to cope with this. The html code works fine-ish , but I can't seem to pull the variable. The code goes as follows.
    Code:
    <object data="$id" width="600" height="400"> <embed src="$id" width="600" height="400"> </embed> Error: Embedded data could not be displayed. </object>
    the "$id" are attempts to fetch the variable. The outputs is the embed webpage attempting to open [Parrent Directory]/$id.
    Last edited by WhiteSuburban; 06-19-2012 at 06:38 AM.

  • #2
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Help?

  • #3
    New to the CF scene
    Join Date
    May 2012
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You should check into php, asp, or content management systems for a solution to this problem. I think.

  • #4
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by toddmanning View Post
    You should check into php, asp, or content management systems for a solution to this problem. I think.
    If its complex, I can just deal with a fixed size.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •