| This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy. Visit the NEW ZetaBoards Support forum! |
- Pages:
- 1
- 2
| Using jQuery to create new pages | |
|---|---|
| Topic Started: Jun 21 2008, 04:51 PM (1,675 Views) | |
| simcityfreak4 | Jun 21 2008, 04:51 PM Post #1 |
![]()
Member
![]() ![]() ![]()
|
When a user goes to this link at my ZB: http://s1.zetaboards.com/EXV2/index/gallery/ It loads up a gallery. But I am having trouble with my code:
I have used this same code before like this:
And it worked just fine. It is suppose to place the code in the variable above the bar with the time and theme chooser, but the first code doesn't do that. It places it below that bar like this: ![]() Does anyone know how to move the code above the time and theme choose bar? Edited by simcityfreak4, Jun 21 2008, 04:56 PM.
|
![]() |
|
| slayer766 | Jun 21 2008, 06:43 PM Post #2 |
|
Member
![]() ![]() ![]()
|
Try changing $("#foot_wrap").before(GX2); to $("#foot_wrap").after(GX2); |
![]() |
|
| simcityfreak4 | Jun 21 2008, 09:39 PM Post #3 |
![]()
Member
![]() ![]() ![]()
|
(I need help with the first code, not the 2nd one. I said that in my post) I tried that for the first code and it didn't help.
|
![]() |
|
| Chris | Jun 21 2008, 09:49 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I have a really simple method. ![]()
Replace Content with the variable containing what should show up. |
![]() |
|
| simcityfreak4 | Jun 21 2008, 10:38 PM Post #5 |
![]()
Member
![]() ![]() ![]()
|
So like this?
I tried that and it was still the same :/ |
![]() |
|
| Ben | Jun 21 2008, 11:21 PM Post #6 |
|
v_ben > c
![]()
|
Is there a reason you are not using the website maker to create this new page? |
![]() |
|
| simcityfreak4 | Jun 22 2008, 06:49 PM Post #7 |
![]()
Member
![]() ![]() ![]()
|
/index/gallery looks better than /index/pages/gallery |
![]() |
|
| Ben | Jun 22 2008, 07:43 PM Post #8 |
|
v_ben > c
![]()
|
Firstly, that's a stupid reason. The website maker is there precisely so you don't need to use clever JavaScript tricks to create new pages for your board. Secondly, it would be pages/gallery, not index/pages/gallery. |
![]() |
|
| simcityfreak4 | Jun 22 2008, 08:45 PM Post #9 |
![]()
Member
![]() ![]() ![]()
|
See, the code I am using is suppose to make it easy so you don't have to use the website maker. It manages your board template and makes it easy to add codes. You add codes to the code I am making and it automatically adds it into the correct board template boxes. The gallery code I am making is a plugin for that code and if I have to use the website maker, it kinda defeats the purpose of making it easier for members to add a suite of codes easily. |
![]() |
|
| Chris | Jun 22 2008, 09:26 PM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I don't use the website maker because of the several issues it has at the moment. 1) </textarea> breaks the box 2) $ translates into the html version of $, so jQuery does not work. He is modeling it after my Thunder Arcade mod (yes.. I know you took my stuff without asking again ) which explains why it doesn't use a web page.
Edited by Chris, Jun 22 2008, 09:31 PM.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · jQuery Help · Next Topic » |
- Pages:
- 1
- 2





![]](http://209.85.62.24/static/1/pip_r.png)






) which explains why it doesn't use a web page.
1:49 PM Dec 8