- Posts: 24
- Thank you received: 3
OS Property support center
icon Search properties
- agnaldoneves
- Topic Author
- Offline
- Junior Member
Less
More
11 years 9 months ago #16842
by agnaldoneves
icon Search properties was created by agnaldoneves
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12555
- Thank you received: 1626
11 years 9 months ago #16843
by Mr. Dam
Replied by Mr. Dam on topic Re: icon Search properties
Hi,
You can edit in the file :
modules > mod_ospropertysearch > tmpl > default.php
For example :
<b>BASIC DETAILS <a href="javascript:modOspropertySearchChangeDiv('basic_div')" id="abasic_div" style="text-decoration:none;">[-]</a></b>
You can replace [-] my image tag <img>
Remember you need to edit remain parts (details, address v.v.)
One more thing, you need to edit the js function, at the bottom of source page
function modOspropertySearchChangeDiv(div_name){
var div = document.getElementById(div_name);
var atag = document.getElementById('a' + div_name);
if(div.style.display == "block"){
div.style.display = "none";
atag.innerHTML = '[+]';
}else{
div.style.display = "block";
atag.innerHTML = '[-]';
}
}
Note:
atag.innerHTML = '[-]';
Replace [-] by image tag.
Good luck!
Dam
You can edit in the file :
modules > mod_ospropertysearch > tmpl > default.php
For example :
<b>BASIC DETAILS <a href="javascript:modOspropertySearchChangeDiv('basic_div')" id="abasic_div" style="text-decoration:none;">[-]</a></b>
You can replace [-] my image tag <img>
Remember you need to edit remain parts (details, address v.v.)
One more thing, you need to edit the js function, at the bottom of source page
function modOspropertySearchChangeDiv(div_name){
var div = document.getElementById(div_name);
var atag = document.getElementById('a' + div_name);
if(div.style.display == "block"){
div.style.display = "none";
atag.innerHTML = '[+]';
}else{
div.style.display = "block";
atag.innerHTML = '[-]';
}
}
Note:
atag.innerHTML = '[-]';
Replace [-] by image tag.
Good luck!
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.