Sub Menu
Links Menu
Online Users

In total there are 301 users online :: 4 registered, 0 hidden and 297 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot] based on users active over the past 60 minutes

Style select block

Support for the IM Portal Project

Moderator: Integra Moderator

Style select block

PostAuthor: Coroner » Sun Apr 12, 2009 2:17 am

Hello,
I have been beating my brians out until 2 in the morning trying to get the style select to work. For most of a year I've been using one that I created myself but with out images. I now am trying to accomplish that but to no avail. When I try to use the actual block the styles don't change. The page only refreshes? Each template has it's own styles_select_block.tpl and each points to it's own image.

Here's an example of whats in the main default theme:
<BEGIN>
<div>
<form>
<table>
<tr>
<td><a><img></a></td>
</tr><tr>
<td>{S_SELECT_STYLE}</td>
</tr>
</table>
</form>
<table>
<tr>
<td><span>Script by <a>webmedic</a>, v 1.0.5</span></td>
</tr></table>
</div>

<END>

I get only that one image in the block which is assigned to that template. I'd like to think that IF I can get it to change styles then maybe the image will change to match the style.

Here's what I am using in the acp block I created"
<script>
function ChangeStyle()
{
var number = document.DD.DDM.selectedIndex;
location.href = document.DD.DDM.options[number].value;
}
</script>
<tr>
<td><span>
<form>
<Select>
<option> Choose Board Style
<option>AcidGamerBlack
<option>AcidTech
<option>AcidTechEx
<option>AcidTechBlood
<option>AcidTechBloodEx
<option>AcidTechGreen
<option>AcidTechGreenEx
<option>AcidTechPurple
<option>AcidTechPurpleEx
<option>AcidTechTiger
<option>AcidTechTigerEx
<option>BBTech
<option>Evil
<option>FwsBlack
<option>GIR Red
<option>BlueGlass
<option>RedGlass
<option>YellowGlass
<option>OrangeGlass
<option>GreenGlass
<option>CyanGlass
<option>SubSilver
<option>Torre_Nera
<option>XredeX
</select>
</form></span>
</td>
</tr>

This works fine but I don't have a clue where I could ad an image for each style.

At this point I'm totally lost and fustrated. I really want this to work.

Can anyone PLEASE give me some help with this???????
[url=http][img=left]http://cscoroner.com/phpbb2/RandomSig/randomsig.png[/img][/url]
User avatar
Coroner
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 02, 2008 1:48 pm
Cash on hand: 0.00

Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot]