Page 1 of 1

Some noob questions...

Posted: Sun Sep 28, 2014 11:04 am
by brushbrook
Hi guys, thanks for taking the time to read this.

I need the basic commands.

From what I have seen so far, main stack would be the equivalent of a homepage in world wide web terms, yes?
How do I then create sub pages, that can be accessed by clicking the button on my homepage?

In my World, it would be a hyperlink.

Thanks :)

Re: Some noob questions...

Posted: Sun Sep 28, 2014 11:52 am
by Klaus
Hi brushbrook,

1. welcome to the forum! :D

2. Check these stacks to get the basics of Livecode
http://www.hyperactivesw.com/revscriptc ... ences.html
brushbrook wrote:From what I have seen so far, main stack would be the equivalent of a homepage in world wide web terms, yes?
Well, yes, if you like...
I prefer the image of a stack of (paper) cards, where you can "navigate" to all other cards in this stack (and other stacks :D )
brushbrook wrote:How do I then create sub pages, that can be accessed by clicking the button on my homepage?
See above, you create a new card(s) (Menu: Object) and give them meaningful names.

Then you can create a button with this script to "switch" cards:

Code: Select all

on mouseup
  go cd "name of card here"
  ## or use the number if you like:
  ## go cd 2
end mouseup
Best

Klaus

Re: Some noob questions...

Posted: Sun Sep 28, 2014 2:25 pm
by FourthWorld
The User Guide (available through the Help menu) is very useful. Chapter 2 is a good starting point.